# Retrieve a list of all content available on the MDM server To fetch all docs ## Endpoint `GET /api/v1/mdm/docs` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/docs` ## Scope `MDMDeviceMgmt.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** (`string`, Mandatory): `application/json` ### Query Parameters - **limit** (`integer`, Optional): Maximum number of records to return in a single response. Used together with offset for pagination - **skip-token** (`string`, Optional): Pagination continuation token returned by a previous response. Pass it to fetch the next page of results - **offset** (`integer`, Optional): Zero-based index of the first record to return. Used together with limit for pagination - **delta-token** (`string`, Optional): Token used for delta/incremental fetches. Pass the token returned from a previous response to retrieve only items modified since that point - **doc_type** (`string`, Optional): Filter content by document type (e.g., 1=Document, 2=Image, 3=Video, 4=Audio) - **tag_name** (`string`, Optional): Filter results by tag name - **added_time** (`string`, Optional): Filter results by the time the resource was added (epoch milliseconds) ## Sample Request ```curl curl --request GET \ --url 'https://appdomain/api/v1/mdm/docs?limit=SOME_INTEGER_VALUE&skip-token=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE&delta-token=SOME_STRING_VALUE&doc_type=SOME_STRING_VALUE&tag_name=SOME_STRING_VALUE&added_time=SOME_STRING_VALUE' \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body: application/json `JSON Object` - **docs** (`JSON Array`): Array of content items available on the MDM server ## Possible Response Codes - **200**: HTTP code ## Sample Response: HTTP 200 ### List of content items available on the MDM server ```json { "docs": [ { "updated_time": 1714717200000, "added_time": 1714630800000, "size": 6855, "doc_name": "Zylker MDM", "description": "List of Docs", "last_modified_by": 9007199254741036, "doc_type": 4, "created_by_name": "admin", "doc_id": 9007199254741080, "last_modified_by_name": "admin", "created_by": 9007199254741036, "repository_type": 1 } ] } ``` ### No content items found on the MDM server ```json { "docs": [] } ``` ## API Rate Limit **Duration:** 1 minute | **Threshold:** 120 | **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.