Skip to main content

GET

Files (By Panel)

/api/v1/app/files/panel/<int:panel_id>/

Endpoint

/api/v1/app/files/panel/<int:panel_id>/

Pagination

?limit=<int:default(40)>

How many results to show at one time.

?offset=<int:default(0)>

How much to offset the results by (for example, if wanting to load page 2, we would offset this query by 40 in this example).

?sort_by=<str:default(-created_on)>

Which field to sort the field by? And which direction (descending by using the -) the sort order should follow.

Headers

{
    "Content-Type": "application/json",
    "Authorization": "Bearer <str:token>"
}

Response

{
    "id": "<int:id>",
    "filepath": "<str:filepath>",
    "panel_id": "<int:panel_id>",
    "thread_id": "<int:thread_id>",
    "created_by": "<str:created_by>",
    "created_on": "<datetime:created_on>",
    "updated_at": "<datetime:updated_at>",
    "meta": {json}
}