-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteamCreate.yml
More file actions
67 lines (67 loc) · 1.72 KB
/
Copy pathteamCreate.yml
File metadata and controls
67 lines (67 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
post:
summary: Create a new Team on the platform
tags:
- team
description: Creates a new Team when supplied with its details. Returns `team_uuid`.
security:
- bearerAuth: []
parameters:
- name: x-sr-application
in: header
description: What application/version is calling the API
required: true
style: simple
schema:
type: string
default: SR/Swagger
requestBody:
description: Team creation information
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
default: create
example: create
team:
type: object
properties:
event_uuid:
type: string
format: uuid
team_details:
type: object
properties:
team_name:
type: string
team_description:
type: string
responses:
'200':
description: Successful operation
headers:
Content-Type:
schema:
type: string
description: The MIME type of the payload
Content-Length:
schema:
type: number
description: Byte length of the payload
content:
application/json:
schema:
type: object
properties:
team_uuid:
type: string
format: uuid
created:
type: boolean
'403':
description: Not authorized
default:
description: Default response for POST /teamCreate