mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 20:37:50 +00:00
32 lines
753 B
YAML
32 lines
753 B
YAML
get:
|
|
operationId: getCountWorkItems
|
|
tags:
|
|
- Work Items
|
|
summary: Count Work Items
|
|
description: >-
|
|
This gets a count of work items belonging to either the specified user(admin required), or the current user.
|
|
parameters:
|
|
- 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/WorkItemsCount.yaml'
|
|
'400':
|
|
$ref: '../../v3/responses/400.yaml'
|
|
'403':
|
|
$ref: '../../v3/responses/403.yaml'
|
|
'404':
|
|
$ref: '../../v3/responses/404.yaml'
|
|
|
|
|