# Check Boot Media Availability Indicates whether media creation has been attempted, is in progress, or has completed successfully or with a failure. ## Endpoints **GET** `/emsapi/osdeployer/media/status` ## Request URL `https://{server-hostname}:8383/emsapi/osdeployer/media/status` ### Scope `OSDMedia.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` **Mandatory**: `application/mediaStatus.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/emsapi/osdeployer/media/status \ --header 'Accept: application/mediaStatus.v1+json' \ --header 'Authorization: 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. ### Possible Response Codes - **200** `HTTP code` ### 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 Limit ![](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.