Files
api-specs/idn/beta/paths/work-items.yaml
2022-09-02 10:59:29 -04:00

35 lines
884 B
YAML

get:
operationId: listWorkItems
tags:
- Work Items
summary: List Work Items
description: >-
This gets a collection of work items belonging to either the specified user(admin required), or the current user.
parameters:
- $ref: '../../v3/parameters/limit.yaml'
- $ref: '../../v3/parameters/offset.yaml'
- $ref: '../../v3/parameters/count.yaml'
- in: query
name: ownerId
schema:
type: string
description: ID of the work item owner.
required: false
responses:
'200':
description: List of work items
content:
application/json:
schema:
type: array
items:
$ref: '../schemas/WorkItems.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'