Update a submission status / image mode (admin token required)
PATCH
/api/lists/submissions/{id}
const url = 'https://gib.show/api/lists/submissions/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"status":"pending","imageMode":"link"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://gib.show/api/lists/submissions/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "status": "pending", "imageMode": "link" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”object
status
string
imageMode
string
Responses
Section titled “Responses”Updated submission.
object
id
string
url
string
name
string
description
string
submittedBy
string
status
string
providerKey
string
listKey
string
imageMode
string
failCount
integer
subscriberCount
integer
lastFetchedAt
string | null format: date-time
createdAt
string format: date-time
Example
{ "status": "pending", "imageMode": "link"}No recognized fields to update, or a status/imageMode value outside the allowed enums.
object
error
string
Example generated
{ "error": "example"}Missing or invalid admin bearer token (401 also when ADMIN_TOKEN is unset).
object
error
string
Example generated
{ "error": "example"}Submission not found.
object
error
string
Example generated
{ "error": "example"}