mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 12:27:48 +00:00
35 lines
884 B
YAML
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'
|
|
|
|
|