Update script metadata without uploading a new script archive.
Authentication: JWT token required Authorization: Admin or script owner access required Content-Type: application/json
Path Parameters:
- script: Script identifier/slug or UUID
Request Body (all fields optional):
{
"name": "New Script Name",
"description": "Updated description",
"uses_gee": true
}
Updatable Fields:
- name: Script display name
- description: Script description text
- uses_gee: Whether the script uses Google Earth Engine (boolean)
- batch_execution_config: Publisher-approved commands and alternate queues/definitions (admin only)
- batch_image, batch_job_queue, batch_job_definition: Trusted Batch infrastructure configuration (admin only)
Error Responses:
- 400 Bad Request: No valid fields provided
- 401 Unauthorized: JWT token required
- 403 Forbidden: Insufficient permissions
- 404 Not Found: Script does not exist
patch/api/v1/script/{script}/config
Request
- Base URLhttps://api.trends.earth/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
scriptstring required
Path parameter: script
Request body
object required
Response
Success
object required
Changes
No recorded changes to this operation across all 6 revisions of this API.