# Check Boot Media Availability Indicates whether media creation has been attempted, is in progress, or has completed successfully or with a failure. ## Endpoint `GET /emsapi/osdeployer/media/status` ## Request URL https://[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/emsapi/osdeployer/media/status ## Scope `DesktopCentralCloud.OSDMedia.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/mediaStatus.v1+json` ### Query Parameters - **mediaType** `string` — Optional - The media type (USB, ISO, or PXE) indicates the specific type with the version being checked. This parameter can be omitted if the response covers all media types. ## Sample Request ```bash curl --request GET \ --url https://appdomains/emsapi/osdeployer/media/status \ --header 'Accept: application/mediaStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body: `application/mediaStatus.v1+json` `JSON Object` - **isMediaCreatedSuccessfully** `boolean` - true if at least one bootable media has been created successfully for this customer (scoped to mediaType if supplied). - **isMediaCreationInProgress** `boolean` - true if a media-creation job is currently running for this customer. - **isMediaCreationFailed** `boolean` - true if the most recent media-creation attempt ended in failure. - **isMediaCreationTried** `boolean` - true if media creation has been attempted at least once; false if no attempt has ever been made. - **mediaStatus** `integer` - Current media lock/operation state: 0 = FREE, 1 = CREATION, 2 = MODIFICATION, 3 = COPY, 4 = UPDATING. - **isBSODDriverEnabled** `boolean` - true if BSOD driver injection is enabled for this customer via the OSD customer parameter ENABLE_BSOD_DRIVERS. - **isDSMediaCreationEnabled** `boolean` - true if DS (Distributed Server) media creation is enabled for this customer. ## Sample Response: HTTP 200 ### Media has been created and is ready; no operation is in progress ```json { "isMediaCreationFailed": false, "isMediaCreationTried": true, "isDSMediaCreationEnabled": true, "isBSODDriverEnabled": false, "isMediaCreationInProgress": false, "mediaStatus": 0, "isMediaCreatedSuccessfully": true } ``` ### Media creation is currently running ```json { "isMediaCreationFailed": false, "isMediaCreationTried": true, "isDSMediaCreationEnabled": true, "isBSODDriverEnabled": false, "isMediaCreationInProgress": true, "mediaStatus": 1, "isMediaCreatedSuccessfully": false } ``` ### The last media-creation attempt failed ```json { "isMediaCreationFailed": true, "isMediaCreationTried": true, "isDSMediaCreationEnabled": true, "isBSODDriverEnabled": false, "isMediaCreationInProgress": false, "mediaStatus": 0, "isMediaCreatedSuccessfully": false } ``` ## Rate Limits ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 50 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.