Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sgassmann-skedulo/bf8ed48cce6378e01209d58fdc1214dc to your computer and use it in GitHub Desktop.
Save sgassmann-skedulo/bf8ed48cce6378e01209d58fdc1214dc to your computer and use it in GitHub Desktop.
curl --request POST \
--url https://platform.prod.skl.io/ui/v1/resource \
--header 'Authorization: Bearer $API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"resource": {
"name": "launchers",
"userId": "",
"tenantId": "Your_Tenant_ID_Here",
"domainId": "",
"resource": "launchers",
"datasource": "CUSTOM",
"datasourceParamsCustom": {
"getObjects":null,
"deleteObject": null,
"updateObject": null,
"createObject": null,
"getDataSchema": {
"static": {
"resourceId": "",
"fields": [
],
"relationships": [
]
}
},
"getObject": null
},
"datasourceCapabilities": {
"paging": {
"method": "PAGE"
},
"definer": ""
},
"definer": "",
"isSystemGenerated": false
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment