Verified Commit a4b21620 authored by Jakob Moser's avatar Jakob Moser
Browse files

Specify GET /todos/-/items

parent d40f6409
Loading
Loading
Loading
Loading
+27 −0
Changes for portal/static/docs/api/v0/openapi-spec.yaml: 27 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -130,6 +130,33 @@ paths:
                ### Can I change any item with this?

                Yes. The audit concept should make sure that if someone uses this to change the state of random other items, it is caught soon enough. Then, measures can still be implemented to taste.
    /todos/-/items:
        summary: Path used to manage the items of _the_ to do list.
        description: ""
        get:
            responses:
                "200":
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: "#/components/schemas/Task"
                            examples:
                                a_short_todo_list:
                                    $ref: "#/components/examples/a_short_todo_list"
                    description: Successful response, returns a list of tasks
                "401":
                    $ref: "#/components/responses/UnauthorizedError"
            operationId: getTheTodoItems
            summary: List all todos
            security:
                - secretBearerAuth: []
            description: |
                This returns all tasks currently in the “To Do” column in Taiga.

                For more deliberations, see [GET `/agenda/-/items`](#operation/getTheAgendaItems), which works more or less in the same way.
        patch:
    /version:
        summary: Path used to get details about the version of this application.
        description: ""