Run the stages of screens
Brings the stages of the given screens (default every screen) up to date and returns what ran for each. `stages` defaults to all but kit, and `force` reruns stages that are current. Needs the admin token (`Authorization: Bearer <token>`) or the curator's session.
/v1/ingest/processBrings the stages of the given screens (default every screen) up to date and returns what ran for each. stages defaults to all but kit, and force reruns stages that are current. Needs the admin token (Authorization: Bearer <token>) or the curator's session.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.conjure.design/v1/ingest/process" \
-H "Content-Type: application/json" \
-d '{}'
{
"results": [
{
"id": "string",
"ran": [
"renditions"
],
"status": {
"renditions": {
"_tag": "Done"
},
"measure": {
"_tag": "Done"
},
"label": {
"_tag": "Done"
},
"kit": {
"_tag": "Done"
}
}
}
]
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
Import a screenshot with its labels POST
Adds a screenshot from a catalog with the labels of its `entry`, then runs every stage but kit. An import never replaces a label from the model or the curator. Needs the admin token (`Authorization: Bearer <token>`) or the curator's session.
Upload a screenshot POST
Adds a screenshot to the library from a multipart form and runs every stage but kit on it. An image the library already has returns that screen with `created` false. Needs the admin token (`Authorization: Bearer <token>`) or the curator's session.