-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e129fb
commit 9ffdb6b
Showing
13 changed files
with
913 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# Schema: Meeting_PageModel | ||
--- | ||
type: object | ||
required: | ||
- title | ||
properties: | ||
id: | ||
type: integer | ||
description: Identifier of this meeting | ||
readOnly: true | ||
exclusiveMinimum: 0 | ||
title: | ||
type: string | ||
description: The meeting's title | ||
_links: | ||
type: object | ||
properties: | ||
self: | ||
allOf: | ||
- "$ref": "./link.yml" | ||
- description: |- | ||
This meeting | ||
**Resource**: Meeting | ||
readOnly: true | ||
author: | ||
allOf: | ||
- "$ref": "./link.yml" | ||
- description: |- | ||
The user having created the meeting | ||
**Resource**: User | ||
readOnly: true | ||
project: | ||
allOf: | ||
- "$ref": "./link.yml" | ||
- description: |- | ||
The project the meeting is in | ||
**Resource**: Project | ||
attachments: | ||
allOf: | ||
- $ref: './link.yml' | ||
- description: |- | ||
The attachment collection of this grid. | ||
**Resource**: AttachmentCollection | ||
addAttachment: | ||
allOf: | ||
- "$ref": "./link.yml" | ||
- description: |- | ||
Attach a file to the meeting | ||
# Conditions | ||
**Permission**: edit meeting | ||
readOnly: true | ||
example: | ||
_type: Meeting | ||
id: 72 | ||
lockVersion: 5 | ||
title: A meeting | ||
startTime: '2014-05-21T08:00:00.000Z' | ||
endTime: '2014-05-21T10:00:00.000Z' | ||
duration: 120 | ||
createdAt: '2014-05-21T08:51:20.396Z' | ||
updatedAt: '2014-05-21T09:14:02.776Z' | ||
_embedded: | ||
project: | ||
_type: Project... | ||
id: 12 | ||
author: | ||
_type: User... | ||
id: 2 | ||
_links: | ||
addAttachment: | ||
href: "/api/v3/meetings/72/attachments" | ||
method: post | ||
attachments: | ||
href: "/api/v3/meetings/72/attachments" | ||
project: | ||
href: "/api/v3/projects/12" | ||
title: some project | ||
author: | ||
href: "/api/v3/users/2" | ||
title: Peggie Feeney | ||
self: | ||
href: "/api/v3/meetings/72" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# /api/v3/meetings/{id} | ||
--- | ||
get: | ||
parameters: | ||
- description: Meeting identifier | ||
example: '1' | ||
in: path | ||
name: id | ||
required: true | ||
schema: | ||
type: integer | ||
responses: | ||
'200': | ||
content: | ||
application/hal+json: | ||
examples: | ||
response: | ||
value: | ||
_embedded: | ||
project: | ||
_type: Project... | ||
id: 12 | ||
author: | ||
_type: User... | ||
id: 2 | ||
_links: | ||
addAttachment: | ||
href: "/api/v3/meetings/72/attachments" | ||
method: post | ||
attachments: | ||
href: "/api/v3/meetings/72/attachments" | ||
project: | ||
href: "/api/v3/projects/12" | ||
title: some project | ||
author: | ||
href: "/api/v3/users/2" | ||
title: Peggie Feeney | ||
self: | ||
href: "/api/v3/meetings/72" | ||
_type: Meeting | ||
id: 72 | ||
lockVersion: 5 | ||
title: A meeting | ||
startTime: '2014-05-21T08:00:00.000Z' | ||
duration: 120 | ||
createdAt: '2014-05-21T08:51:20.396Z' | ||
updatedAt: '2014-05-21T09:14:02.776Z' | ||
schema: | ||
"$ref": "../components/schemas/meeting_model.yml" | ||
description: OK | ||
headers: { } | ||
'404': | ||
content: | ||
application/hal+json: | ||
schema: | ||
$ref: "../components/schemas/error_response.yml" | ||
examples: | ||
response: | ||
value: | ||
_type: Error | ||
errorIdentifier: urn:openproject-org:api:v3:errors:NotFound | ||
message: The requested resource could not be found. | ||
description: |- | ||
Returned if the meeting does not exist or the client does not have sufficient permissions to see it. | ||
**Required permission:** view meetings in the page's project | ||
headers: { } | ||
tags: | ||
- Meetings | ||
description: Retrieve an individual meeting as identified by the id parameter | ||
operationId: View_Meeting | ||
summary: View Meeting Page |
Oops, something went wrong.