API referenceSprites
Get an import
GET
Needs a key withsprites:read
An import as it stands: queued, running (with what it's doing), done or failed (with why), and the takes it makes.
Requires scope sprites:read.
apiKeyheader
x-api-key<token>An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.
importId*stringMatch
^[A-Za-z0-9_-]{1,128}$The import.
application/json- response
A sheet import.
characterId*stringLength
1 <= length <= 128createdAt*stringfailure*|Why it failed, in plain words.
gameId*stringLength
1 <= length <= 128id*stringLength
1 <= length <= 128masterVersionId*|The master version it made, if it made one.
progress*numberRange
0 <= value <= 1status*stringValue in
"queued""running""done""failed"step*|What it's doing now, in plain words.
takeIds*array<>The takes it makes, a row each.
updatedAt*stringcurl -X GET 'https://api.remagica.com/api/v1/sprites/imports/2b7d4f9a1c3e5a7b9d0f2e4c6a8b0d1f'Example Response
{ "characterId": "eb1fe45b-5b3d-4f60-8e2a-1d9c6b4f7e05", "createdAt": "string", "failure": "string", "gameId": "86c3e75d-5b3d-4f60-8e2a-1d9c6b4f7e05", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "masterVersionId": "371019b7-5b3d-4f60-8e2a-1d9c6b4f7e05", "progress": 1, "status": "queued", "step": "string", "takeIds": [ "string" ], "updatedAt": "string"}