getSiteApAutoOrientation
This API is called to view the current status of auto orient for a given map.
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Path Parameters
uuiduuidResponse Body
curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/maps/000000ab-00ab-00ab-00ab-0000000000ab/auto_orient"{ "start_time": 1678900062, "status": "done", "stop_time": 1678900362}confirmSiteApLocalizationData POST
**Deprecated** — use [Accept Site AP Autoplacement](/api/mist/sites/sites-maps/sites-maps---auto-placement/acceptSiteApLocalizationData) to accept cached values, or [Clear Site AP Autoplacement](/api/mist/sites/sites-maps/sites-maps---auto-placement/clearSiteApAutoplacement) to reject them.
startSiteApAutoOrientation POST
This API is called to trigger a map for auto orient. For auto orient feature to work, BLE data needs to be collected from the APs on the map. This precess is not disruptive unlike FTM collection. Repeated POST requests to this endpoint while a map is still running will be rejected. `force_collection` is set to `false` by default. If `force_collection`==`false`, the API attempts to start orientation with existing data. If no data exists, the API attempts to start collecting orientation data. If `force_collection`==`true`, the API attempts to start collecting orientation data. Providing a list of device macs is optional. If provided, auto orientation suggestions will be made only for the specified devices. If no list is provided, all APs associated with the map are considered by default.