Basically I'm trying to retrieve the SandboxInfo records of my organization, but I can't seem to find the correct endpoint for that.
I've tried executing /services/data/v41.0/tooling/sobjects/SandboxInfo
and that gives me the following response:
{
"objectDescribe": {
"activateable": false,
"createable": true,
"custom": false,
"customSetting": false,
"deletable": true,
"deprecatedAndHidden": false,
"feedEnabled": false,
"hasSubtypes": false,
"isSubtype": false,
"keyPrefix": "0GQ",
"label": "Sandbox Info",
"labelPlural": "Sandbox Infos",
"layoutable": false,
"mergeable": false,
"mruEnabled": false,
"name": "SandboxInfo",
"queryable": true,
"replicateable": false,
"retrieveable": true,
"searchable": false,
"triggerable": false,
"undeletable": false,
"updateable": true,
"urls": {
"rowTemplate": "/services/data/v41.0/tooling/sobjects/SandboxInfo/{ID}",
"defaultValues": "/services/data/v41.0/tooling/sobjects/SandboxInfo/defaultValues?recordTypeId&fields",
"describe": "/services/data/v41.0/tooling/sobjects/SandboxInfo/describe",
"sobject": "/services/data/v41.0/tooling/sobjects/SandboxInfo"
}
},
"recentItems": []
}
The thing is the urls that come in the response don't allow me to GET all the available SandboxInfo elements, but just a specific one, given that I know its Id.
Is there any way to get the Id of all the existing ones?