Aller au contenu principal

API

Cette référence décrit les routes publiques de l'API BaaStide : les routes de la clé API d'un MSP et les routes de la clé de provisioning d'un CSP. Les routes internes et les routes d'administration de la plateforme ne sont pas dans cette référence.

Source : openapi-csp.json du dépôt platform, BaaStide API for CSP integrations. Les textes de la source sont en anglais.

Adresse de base

  • https://{portal}/api ({portal} : Host name of the BaaStide portal)

Authentification (en-tête Authorization: Bearer <clé>)

  • mspApiKey : MSP API key: bst_msp_.... The route's security names the scope the key needs (read, operate or browse).
  • provisioningKey : Provisioning key of a CSP: bst_prov_....

Routes (131)

RouteMéthode et cheminSection
Get current mspGET /mspAccounts
List endpoint jobsGET /endpoints/{id}/jobsBackups
Create endpoint jobPOST /endpoints/{id}/jobsBackups
List endpoint snapshotsGET /endpoints/{id}/snapshotsBackups
List snapshot treePOST /endpoints/{id}/snapshots/{snapshot_id}/treeBackups
Search snapshotPOST /endpoints/{id}/snapshots/{snapshot_id}/searchBackups
Size snapshot selectionPOST /endpoints/{id}/snapshots/{snapshot_id}/selection-sizeBackups
Get jobGET /jobs/{id}Backups
Cancel jobPOST /jobs/{id}/cancelBackups
Get job logsGET /jobs/{id}/logsBackups
List mssql instancesGET /endpoints/{id}/mssql/instancesBackups
Set mssql connectionPUT /endpoints/{id}/mssql/instances/{instance}/connectionBackups
List mssql snapshotsGET /endpoints/{id}/mssql/snapshotsBackups
Get mssql snapshotGET /endpoints/{id}/mssql/snapshots/{snapshotId}Backups
Mssql inventoryPOST /endpoints/{id}/mssql/inventoryBackups
List backup policiesGET /endpoints/{id}/policiesBackups
Create backup policyPOST /endpoints/{id}/policiesBackups
Get backup policyGET /endpoints/{id}/policies/{policyId}Backups
Replace backup policyPUT /endpoints/{id}/policies/{policyId}Backups
Delete backup policyDELETE /endpoints/{id}/policies/{policyId}Backups
Run backup policyPOST /endpoints/{id}/policies/{policyId}/runBackups
Copy backup policyPOST /endpoints/{id}/policies/{policyId}/copyBackups
Get baremetal policyGET /endpoints/{id}/baremetal-policyBackups
Replace baremetal policyPUT /endpoints/{id}/baremetal-policyBackups
Create baremetal policyPOST /endpoints/{id}/baremetal-policyBackups
Get policyGET /endpoints/{id}/policyBackups
Replace policyPUT /endpoints/{id}/policyBackups
List pending actionsGET /pending-actionsBackups
Cancel pending actionPOST /pending-actions/{id}/cancelBackups
List clientsGET /clientsClients
Create clientPOST /clientsClients
Get clientGET /clients/{id}Clients
Delete clientDELETE /clients/{id}Clients
List endpointsGET /endpointsEndpoints
Export endpointsGET /endpoints/exportEndpoints
Get endpointGET /endpoints/{id}Endpoints
Update endpointPATCH /endpoints/{id}Endpoints
Delete endpointDELETE /endpoints/{id}Endpoints
Get endpoint agentGET /endpoints/{id}/agentEndpoints
Set agent upload limitPUT /endpoints/{id}/agent/upload-limitEndpoints
Browse agentPOST /endpoints/{id}/browseEndpoints
List agent sharesGET /endpoints/{id}/sharesEndpoints
Create agent sharePOST /endpoints/{id}/sharesEndpoints
Update agent sharePATCH /endpoints/{id}/shares/{shareId}Endpoints
Delete agent shareDELETE /endpoints/{id}/shares/{shareId}Endpoints
Check agent sharePOST /endpoints/{id}/shares/checkEndpoints
List endpoint vmsGET /endpoints/{id}/vmsEndpoints
List enrollment tokensGET /enrollment-tokensEnrollment
Create enrollment tokenPOST /enrollment-tokensEnrollment
Revoke enrollment tokenDELETE /enrollment-tokens/{id}Enrollment
Set enrollment token tagsPUT /enrollment-tokens/{id}/tagsEnrollment
List deployment tokensGET /deployment-tokensEnrollment
Get deployment tokenGET /deployment-tokens/{id}Enrollment
List deployment token endpointsGET /deployment-tokens/{id}/endpointsEnrollment
Create reattach tokenPOST /endpoints/{id}/reattach-tokenEnrollment
Get install profileGET /install-profileEnrollment
List tag keysGET /tag-keysFleet
Create tag keyPOST /tag-keysFleet
Update tag keyPATCH /tag-keys/{id}Fleet
Delete tag keyDELETE /tag-keys/{id}Fleet
List tag valuesGET /tag-keys/{id}/valuesFleet
List endpoint tagsGET /endpoints/{id}/tagsFleet
Set endpoint tagPOST /endpoints/{id}/tagsFleet
Remove endpoint tagDELETE /endpoints/{id}/tags/{keyId}Fleet
Bulk endpoint tagsPOST /endpoint-tagsFleet
Get tree levelsGET /tree-levelsFleet
Get fleet treeGET /fleet/treeFleet
Summarize fleet selectionPOST /fleet/selectionFleet
Set fleet tagsPOST /fleet/tagsFleet
Move fleet endpointsPOST /fleet/moveFleet
Start fleet backupsPOST /fleet/backupsFleet
Create m365endpointPOST /m365/endpointsM365
Connection: status, Graph roles granted, certificate expiryGET /endpoints/{id}/m365/connectionM365
Discovery status and resources of the tenantGET /endpoints/{id}/m365/resourcesM365
Graph roles of the latest complete checkGET /endpoints/{id}/m365/permissionsM365
Observed changes of the Graph roles, newest firstGET /endpoints/{id}/m365/permissions/historyM365
New enrollment link to reconnect the tenantPOST /endpoints/{id}/m365/reconnectM365
Back up now, outside the schedulePOST /endpoints/{id}/m365/backups/runM365
Backup runs, newest firstGET /endpoints/{id}/m365/runsM365
One run with its work unitsGET /endpoints/{id}/m365/runs/{run_id}M365
Children of a folder of a resource at a point in timeGET /endpoints/{id}/m365/resources/{resource_id}/{workload}/browseM365
Versions of an item (the item id is the rest of the path and may hold a /)GET /endpoints/{id}/m365/resources/{resource_id}/{workload}/items/{item_id}/versionsM365
Search on the metadata of the backed-up itemsGET /endpoints/{id}/m365/searchM365
Backup time, time zone and retentionGET /endpoints/{id}/m365/settingsM365
Change the backup time, time zone or retentionPATCH /endpoints/{id}/m365/settingsM365
Cancel a pending shorter retentionPOST /endpoints/{id}/m365/settings/retention/cancelM365
Last daily reading of the usage reports and its month to dateGET /endpoints/{id}/m365/consumptionM365
Read the usage reports again nowPOST /endpoints/{id}/m365/consumption/checkM365
Exports, newest firstGET /endpoints/{id}/m365/exportsM365
Start an export (native files or PST)POST /endpoints/{id}/m365/exportsM365
One export: state, progress, parts, expiryGET /endpoints/{id}/m365/exports/{export_id}M365
Download link of one part of a ready exportGET /endpoints/{id}/m365/exports/{export_id}/parts/{number}M365
Content of one part (ZIP)GET /endpoints/{id}/m365/exports/{export_id}/parts/{number}/contentM365
Restore turned on or off for the tenantGET /endpoints/{id}/m365/restore/activationM365
Restores, newest firstGET /endpoints/{id}/m365/restoresM365
One restore: state, totals, typed errorGET /endpoints/{id}/m365/restores/{restore_id}M365
List usage dailyGET /usage-dailyMonitoring
List audit logGET /audit-logMonitoring
Get alert settingsGET /alertsMonitoring
Replace alert settingsPUT /alertsMonitoring
Get client alert settingsGET /clients/{id}/alertsMonitoring
Replace client alert settingsPUT /clients/{id}/alertsMonitoring
List dashboard problemsGET /dashboard/problemsMonitoring
Get dashboardGET /dashboardMonitoring
Get dashboard tag groupsGET /dashboard/tag-groupsMonitoring
Export dashboard tag groupsGET /dashboard/tag-groups/exportMonitoring
Get license overviewGET /licenseMonitoring
Get license usageGET /license/usageMonitoring
List provisioned mspsGET /provisioning/mspsProvisioning
Provision mspPOST /provisioning/mspsProvisioning
Get provisioned mspGET /provisioning/msps/{id}Provisioning
Suspend provisioned mspPOST /provisioning/msps/{id}/suspendProvisioning
Reactivate provisioned mspPOST /provisioning/msps/{id}/reactivateProvisioning
List provisioned msp api keysGET /provisioning/msps/{id}/api-keysProvisioning
Create provisioned msp api keyPOST /provisioning/msps/{id}/api-keysProvisioning
Rotate provisioned msp api keyPOST /provisioning/msps/{id}/api-keys/{key_id}/rotateProvisioning
Revoke provisioned msp api keyDELETE /provisioning/msps/{id}/api-keys/{key_id}Provisioning
Claim recovery pairingPOST /recovery/claimsRecovery
Get recovery pairingGET /recovery/pairings/{id}Recovery
Approve recovery pairingPOST /recovery/pairings/{id}/approveRecovery
Cancel recovery pairingPOST /recovery/pairings/{id}/cancelRecovery
Get recovery isoGET /recovery/isoRecovery
Create mssql restorePOST /endpoints/{id}/mssql/restoresRestores
Preview mssql restorePOST /endpoints/{id}/mssql/restores/previewRestores
List restore sessionsGET /endpoints/{id}/restore-sessionsRestores
Create restorePOST /endpoints/{id}/restoresRestores
List vm restore targetsGET /endpoints/{id}/vm-restore-targetsRestores
Preview vm restorePOST /endpoints/{id}/vm-restores/previewRestores
Create vm restorePOST /endpoints/{id}/vm-restoresRestores
Get restore sessionGET /restore-sessions/{id}Restores
Cancel restore sessionPOST /restore-sessions/{id}/cancelRestores