[#42161] added additional link to file link model
- https://community.openproject.org/work_packages/42161 - file link read model now contains a link to file location - some boyscouting in root model, fixed 2 warningspull/10570/head
parent
7776884149
commit
4e43a4d6c2
@ -1,41 +1,16 @@ |
|||||||
# /api/v3 |
# /api/v3 |
||||||
--- |
--- |
||||||
get: |
get: |
||||||
|
summary: View root |
||||||
|
operationId: view_root |
||||||
|
description: |- |
||||||
|
Returns the root resource, containing basic information about the server instance and a collection of useful links. |
||||||
|
tags: |
||||||
|
- Root |
||||||
responses: |
responses: |
||||||
'200': |
'200': |
||||||
|
description: OK |
||||||
content: |
content: |
||||||
application/hal+json: |
application/hal+json: |
||||||
examples: |
|
||||||
response: |
|
||||||
value: |
|
||||||
_links: |
|
||||||
configuration: |
|
||||||
href: "/api/v3/configuration" |
|
||||||
priorities: |
|
||||||
href: "/api/v3/priorities" |
|
||||||
relations: |
|
||||||
href: "/api/v3/relations" |
|
||||||
statuses: |
|
||||||
href: "/api/v3/statuses" |
|
||||||
types: |
|
||||||
href: "/api/v3/types" |
|
||||||
user: |
|
||||||
href: "/api/v3/users/1" |
|
||||||
title: John Sheppard |
|
||||||
userPreferences: |
|
||||||
href: "/api/v3/my_preferences" |
|
||||||
users: |
|
||||||
href: "/api/v3/users" |
|
||||||
workPackages: |
|
||||||
href: "/api/v3/work_packages" |
|
||||||
coreVersion: 10.3.0 |
|
||||||
instanceName: My own OpenProject |
|
||||||
schema: |
schema: |
||||||
"$ref": "../components/schemas/root_model.yml" |
$ref: '../components/schemas/root_model.yml' |
||||||
description: OK |
|
||||||
headers: {} |
|
||||||
tags: |
|
||||||
- Root |
|
||||||
description: '' |
|
||||||
operationId: View_root |
|
||||||
summary: View root |
|
||||||
|
Loading…
Reference in new issue