Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

REST API shows different structure for one endpoint #17

Description

@timwis

/tasks, /workflows and /workflow-instances shows a structure like this:

{
    "total_pages": 1,
    "page": 1,
    "count": 26,
    "data": [
        { ... }
    ]
}

But /workflow-instances/recurring-latest doesn't have that structure and just shows the data array:

[
     { ... }
]

Not sure if this is intentional or not. One way I've seen around returning pagination details in the body (and having to wrap the actual body) is to do it in the response headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions