Skip to main content

GET

Threads (By Panel)

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

Endpoint

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

Query Strings

?show_all=true

Admin users only. Allows access to all Threads.

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>",
        "title": "<str:title>",
        "panel_id": "<int:panel_id>",
        "created_by": "<str:created_by>",
        "created_on": "<datetime:created_on>",
        "updated_at": "<datetime:updated_at>",
        "last_active": "<datetime:updated_at>",
        "meta": {json}
    },
    ...
]