curl --location 'https://us-prod.notte.cc/functions/90fb0790-2717-485e-94f9-2f8beaa870b6/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "90fb0790-2717-485e-94f9-2f8beaa870b6",
"variables": {
"record_id": 22110214
}
}'
{
"order": "<string>",
"total": 0,
"versions": [
{
"id": 0,
"doi": "<string>",
"files": [
{
"id": "<string>",
"key": "<string>",
"size": 0,
"links": {
"self": "<string>"
},
"checksum": "<string>"
}
],
"links": {},
"recid": "<string>",
"state": "<string>",
"stats": {},
"title": "<string>",
"owners": [
{
"id": "<string>"
}
],
"status": "<string>",
"created": "<string>",
"doi_url": "<string>",
"updated": "<string>",
"metadata": {
"doi": "<string>",
"title": "<string>",
"license": {
"id": "<string>"
},
"version": "<string>",
"creators": [
{
"name": "<string>",
"affiliation": "<string>"
}
],
"relations": {
"version": [
{
"index": 0,
"parent": {
"pid_type": "<string>",
"pid_value": "<string>"
},
"is_last": true
}
]
},
"communities": [
{
"id": "<string>"
}
],
"description": "<string>",
"access_right": "<string>",
"resource_type": {
"type": "<string>",
"title": "<string>"
},
"publication_date": "<string>",
"related_identifiers": [
{
"scheme": "<string>",
"relation": "<string>",
"identifier": "<string>"
}
]
},
"modified": "<string>",
"revision": 0,
"submitted": true,
"conceptdoi": "<string>",
"conceptrecid": "<string>"
}
],
"record_id": "<string>"
}