curl --request POST \
--url http://localhost:8080/push \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_key": "screenplays/input/script.fdx",
"output_key": "screenplays/output/script-v1",
"document_id": "12345",
"tasks": [
"convert-fdx-to-screenjson",
"validate-screenjson"
]
}
'
{
"job_id": "<string>",
"status": "queued"
}Jobs
Queue a screenplay conversion job
POST
/
push
curl --request POST \
--url http://localhost:8080/push \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_key": "screenplays/input/script.fdx",
"output_key": "screenplays/output/script-v1",
"document_id": "12345",
"tasks": [
"convert-fdx-to-screenjson",
"validate-screenjson"
]
}
'
{
"job_id": "<string>",
"status": "queued"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Example:
"screenplays/input/script.fdx"
Example:
"screenplays/output/script-v1"
Example:
"12345"
Example:
[ "convert-fdx-to-screenjson", "validate-screenjson" ]
Example:
{ "encrypt_key": "mysecretkey123" }