kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
261 lines
9.4 KiB
261 lines
9.4 KiB
# /api/v3/queries/schema
|
|
---
|
|
get:
|
|
responses:
|
|
'200':
|
|
content:
|
|
application/hal+json:
|
|
examples:
|
|
response:
|
|
value:
|
|
_dependencies: []
|
|
_embedded:
|
|
filtersSchemas:
|
|
_embedded:
|
|
elements:
|
|
- _dependencies:
|
|
- _type: SchemaDependency
|
|
dependencies:
|
|
"/api/v3/queries/operators/!":
|
|
values:
|
|
_links: {}
|
|
hasDefault: false
|
|
name: Values
|
|
required: true
|
|
type: "[]User"
|
|
writable: true
|
|
"/api/v3/queries/operators/!*": {}
|
|
"/api/v3/queries/operators/*": {}
|
|
"/api/v3/queries/operators/=":
|
|
values:
|
|
_links: {}
|
|
hasDefault: false
|
|
name: Values
|
|
required: true
|
|
type: "[]User"
|
|
writable: true
|
|
'on': operator
|
|
_links:
|
|
filter:
|
|
href: "/api/v3/queries/filters/assignee"
|
|
title: Assignee
|
|
self:
|
|
href: "/api/v3/queries/filter_instance_schemas/assignee"
|
|
_type: QueryFilterInstanceSchema
|
|
filter:
|
|
_links: {}
|
|
hasDefault: false
|
|
name: Filter
|
|
required: true
|
|
type: QueryFilter
|
|
writable: true
|
|
name:
|
|
hasDefault: true
|
|
name: Name
|
|
required: true
|
|
type: String
|
|
writable: false
|
|
- _dependencies:
|
|
- _type: SchemaDependency
|
|
dependencies:
|
|
"/api/v3/queries/operators/!":
|
|
values:
|
|
_links: {}
|
|
hasDefault: false
|
|
name: Values
|
|
required: true
|
|
type: "[]User"
|
|
writable: true
|
|
"/api/v3/queries/operators/=":
|
|
values:
|
|
_links: {}
|
|
hasDefault: false
|
|
name: Values
|
|
required: true
|
|
type: "[]User"
|
|
writable: true
|
|
'on': operator
|
|
_links:
|
|
filter:
|
|
href: "/api/v3/queries/filters/author"
|
|
title: Author
|
|
self:
|
|
href: "/api/v3/queries/filter_instance_schemas/author"
|
|
_type: QueryFilterInstanceSchema
|
|
filter:
|
|
_links: {}
|
|
hasDefault: false
|
|
name: Filter
|
|
required: true
|
|
type: QueryFilter
|
|
writable: true
|
|
name:
|
|
hasDefault: true
|
|
name: Name
|
|
required: true
|
|
type: String
|
|
writable: false
|
|
_links:
|
|
self:
|
|
href: "/api/v3/queries/filter_instance_schemas"
|
|
_type: Collection
|
|
count: 20
|
|
total: 20
|
|
_links:
|
|
self:
|
|
href: "/api/v3/queries/schema"
|
|
_type: Schema
|
|
columns:
|
|
_links: {}
|
|
hasDefault: true
|
|
location: _links
|
|
name: Columns
|
|
required: false
|
|
type: "[]QueryColumn"
|
|
writable: true
|
|
createdAt:
|
|
hasDefault: false
|
|
name: Created on
|
|
required: true
|
|
type: DateTime
|
|
writable: false
|
|
filters:
|
|
_links:
|
|
allowedValuesSchemas:
|
|
href: "/api/v3/queries/filter_instance_schemas"
|
|
hasDefault: true
|
|
location: _links
|
|
name: Filters
|
|
required: false
|
|
type: "[]QueryFilterInstance"
|
|
writable: true
|
|
groupBy:
|
|
_links: {}
|
|
hasDefault: false
|
|
name: Group results by
|
|
required: false
|
|
type: "[]QueryGroupBy"
|
|
writable: true
|
|
highlightedAttributes:
|
|
hasDefault: true
|
|
location: _links
|
|
name: Highlighted attributes
|
|
required: false
|
|
type: "[]QueryColumn"
|
|
writable: true
|
|
highlightingMode:
|
|
hasDefault: true
|
|
name: Highlighting mode
|
|
required: false
|
|
type: String
|
|
writable: true
|
|
id:
|
|
hasDefault: false
|
|
name: ID
|
|
required: true
|
|
type: Integer
|
|
writable: false
|
|
name:
|
|
hasDefault: false
|
|
maxLength: 255
|
|
minLength: 1
|
|
name: Name
|
|
required: true
|
|
type: String
|
|
writable: true
|
|
project:
|
|
_links: {}
|
|
hasDefault: false
|
|
location: _links
|
|
name: Project
|
|
required: false
|
|
type: Project
|
|
writable: true
|
|
public:
|
|
hasDefault: true
|
|
name: Public
|
|
required: false
|
|
type: Boolean
|
|
writable: true
|
|
results:
|
|
hasDefault: false
|
|
name: Results
|
|
required: false
|
|
type: WorkPackageCollection
|
|
writable: false
|
|
showHierarchies:
|
|
hasDefault: true
|
|
name: Show hierarchies
|
|
required: false
|
|
type: Boolean
|
|
writable: true
|
|
sortBy:
|
|
_links: {}
|
|
hasDefault: true
|
|
name: Sort by
|
|
required: false
|
|
type: "[]QuerySortBy"
|
|
writable: true
|
|
starred:
|
|
hasDefault: true
|
|
name: Starred
|
|
required: false
|
|
type: Boolean
|
|
writable: true
|
|
sums:
|
|
hasDefault: true
|
|
name: Sums
|
|
required: false
|
|
type: Boolean
|
|
writable: true
|
|
timelineLabels:
|
|
hasDefault: true
|
|
name: Timeline labels
|
|
required: false
|
|
type: QueryTimelineLabels
|
|
writable: true
|
|
timelineVisible:
|
|
hasDefault: true
|
|
name: Timeline visible
|
|
required: false
|
|
type: Boolean
|
|
writable: true
|
|
timelineZoomLevel:
|
|
hasDefault: true
|
|
name: Timeline zoom level
|
|
required: false
|
|
type: String
|
|
writable: true
|
|
updatedAt:
|
|
hasDefault: false
|
|
name: Updated on
|
|
required: true
|
|
type: DateTime
|
|
writable: false
|
|
user:
|
|
hasDefault: true
|
|
name: User
|
|
required: true
|
|
type: User
|
|
writable: false
|
|
schema:
|
|
"$ref": "../components/schemas/schema_for_global_queries_model.yml"
|
|
description: OK
|
|
headers: {}
|
|
'403':
|
|
content:
|
|
application/hal+json:
|
|
examples:
|
|
response:
|
|
value:
|
|
_type: Error
|
|
errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
|
|
message: You are not authorized to access this resource.
|
|
description: "**Required permission:** view work package in any project"
|
|
headers: {}
|
|
tags:
|
|
- Queries
|
|
description: Retrieve the schema for global queries, those, that are not assigned
|
|
to a project.
|
|
operationId: View_schema_for_global_queries
|
|
summary: View schema for global queries
|
|
|