get:
tags:
- flags
summary: /api/flags/{flagId}
parameters:
- name: flagId
in: path
required: true
schema:
type: string
example: 1
responses:
"200":
description: ""
content:
application/json:
allOf:
- $ref: ../../components/schemas/FlagObject.yaml#/FlagObject
- type: object
properties:
type_path:
assignees:
type: array
items:
$ref: ../../components/schemas/UserObject.yaml#/UserObject
type_bool:
type: object
post:
type: boolean
user:
empty:
title:
privileges:
properties: {}
additionalProperties:
description: "A list of global and admin privileges, and whether the calling user has (or has inherited) them"
states:
open:
label:
class:
wip:
resolved:
rejected:
description: Plugins are able to add additional flag states, and so their values would also be present here if so.
- $ref: ../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
- $ref: ../../components/schemas/CommonProps.yaml#/CommonProps