Skip to content

What you keep of an import

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

Which of the import’s parts the person the bearer names has opened, and the part they left it on — theirs alone, kept outside the import’s version.

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.

id
required

The import id.

string
Example
imp_4d1a

The import id.

What they keep.

Media typeapplication/json
object
looked
required

Which parts a person has opened, by file: each file’s id, or "" for the parts about no one file (Translate values, which is a module’s across files), to the keys of the parts opened there.

object
key
additional properties
Array<string>
<= 500 items
position
required
One of:
object
kind
required
string
Allowed values: connection
Example
{
"position": {
"kind": "connection"
}
}

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"
}

No such import, or not one this bearer may open (IMPORT_NOT_FOUND).

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"
}

Report a problem with this page