New API version v7.4.2 has been released! 🎉
REST Documentation
Get folder documents

Get Documents Of A Folder

You can use this endpoint to retrieve documents within a specific folder.

Request

GET /api/v1/folders/:id/documents
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/folders/3/documents' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Response

{
	"data": [
		{
			"id": 7,
			"filename": "Terms_and_Conditions.pdf",
			"file_type": "application/pdf",
			"file_contents": null
		},
		{
			"id": 8,
			"filename": "Web_Hosting_Agreement.pdf",
			"file_type": "application/pdf",
			"file_contents": null
		},
		{
			"id": 9,
			"filename": "Online_Service_Terms.pdf",
			"file_type": "application/pdf",
			"file_contents": null
		}
	]
}

Optional Parameters

  • Name
    limit
    Type
    integer
    Description

    Attribute for limiting the number of entries per page