Skip to content

The resolved configuration the widget loads

GET
/orgs/{org}/config/resolved
curl --request GET \
--url https://api.sloose.com/orgs/org_9f3c/config/resolved \
--header 'Authorization: Bearer <token>'

Registry, fields, annotations and helper libraries in one document — everything a client needs to run an import, already merged.

Supports If-None-Match: the ETag is a hash of the whole document, so a client that has it can skip the payload entirely and answer from cache. This is the hottest route in the product; use the ETag.

org
required

The org id the session was issued for. A token for one org can never read another.

string
Example
org_9f3c

The org id the session was issued for. A token for one org can never read another.

If-None-Match

A previously returned ETag. Matching answers 304 with no body.

string

A previously returned ETag. Matching answers 304 with no body.

The resolved configuration.

Media typeapplication/json
object
registry
required

The registry document. See the Registry document reference.

object
key
additional properties
fields
required
object
key
additional properties
Array<object>

A destination field definition.

object
key
additional properties
annotations
required
object
key
additional properties
Array<object>

A field annotation.

object
key
additional properties
libraries
required
Array<object>
object
manifest
required

Helper manifest.

object
key
additional properties
source
required
string
etag
required
string
Examplegenerated
{
"registry": {
"additionalProperty": "example"
},
"fields": {
"additionalProperty": [
{
"additionalProperty": "example"
}
]
},
"annotations": {
"additionalProperty": [
{
"additionalProperty": "example"
}
]
},
"libraries": [
{
"manifest": {
"additionalProperty": "example"
},
"source": "example"
}
],
"etag": "example"
}
ETag
string

Hash of the document; pass it back as If-None-Match.

Your If-None-Match matched. No body.

No bearer, or one that is expired, revoked or no longer resolves to a member.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

The bearer’s role is too low, or it was issued for a different org.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}