Get File Upload URL
See original API description on Amazon Mechanical Turk.
Headers
-
Content-Type
string Required Default value is
application/json
.
Body
-
AssignmentId
string Required -
QuestionIdentifier
string Required
GET
/v1/get-file-upload-url
curl \
-X GET https://yourcrowd.ai.moda/api/v1/get-file-upload-url \
-H "Content-Type: application/json" \
-d '{"AssignmentId":"123RVWYBAZW00EXAMPLE444RVWYBAZW01EXAMPLE","QuestionIdentifier":"123RVWYBAZW00EXAMPLE444RVWYBAZW01EXAMPLE"}'
Request example
# Headers
Content-Type: application/json
# Payload
{
"AssignmentId": "123RVWYBAZW00EXAMPLE444RVWYBAZW01EXAMPLE",
"QuestionIdentifier": "123RVWYBAZW00EXAMPLE444RVWYBAZW01EXAMPLE"
}
Request examples
# Headers
Content-Type: application/json
# Payload
{
"AssignmentId": "123RVWYBAZW00EXAMPLE444RVWYBAZW01EXAMPLE",
"QuestionIdentifier": "123RVWYBAZW00EXAMPLE444RVWYBAZW01EXAMPLE"
}
Response examples (200)
{
"FileUploadURL": "https://url-to-image.example"
}
Response examples (200)
{
"FileUploadURL": "https://url-to-image.example"
}