-
Notifications
You must be signed in to change notification settings - Fork 0
/
TrelloCreateCard.json
117 lines (117 loc) · 2.87 KB
/
TrelloCreateCard.json
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"swagger": "2.0",
"info": {
"description": "",
"version": "1.0.0",
"title": "Trello Card API"
},
"host": "api.trello.com",
"basePath": "/1",
"schemes": [
"https"
],
"securityDefinitions": {
"Bearer": {
"type": "apiKey",
"name": "key",
"in": "query"
}
},
"security": [
{
"Bearer": []
}
],
"paths": {
"/cards": {
"post": {
"description": "Create a new Card",
"operationId": "postCreateCard",
"x-ntx-summary": "Create Trello Card",
"parameters": [
{
"name": "token",
"in": "query",
"description": "Token Provided by Developer",
"required": true,
"type": "string"
},
{
"name": "name",
"in": "query",
"description": "The name for the card",
"required": false,
"type": "string"
},
{
"name": "desc",
"in": "query",
"description": "The description of the card",
"required": false,
"type": "string"
},
{
"name": "pos",
"in": "query",
"type": "string",
"description": "The position of the card. Top or Bottom",
"required": false
},
{
"name": "due",
"in": "query",
"type": "string",
"description": "A due date for the card mm/dd/yyyy",
"required": false
},
{
"name": "dueComplete",
"type": "boolean",
"required": false,
"description": "Yes or No, Due Complete",
"in": "query"
},
{
"name": "idList",
"type": "string",
"in": "query",
"required": true,
"description": "The ID of the list the card should be created in"
},
{
"name": "idMembers",
"type": "string",
"in": "query",
"description": "Comma-seperated list of member IDs to add to the card",
"required": false
},
{
"name": "idLabels",
"type": "string",
"in": "query",
"description": "Comma-seperated list of label IDs to add to the card",
"required": false
},
{
"name": "urlSource",
"in": "query",
"description": "A URL srarting with http:// or https://",
"required": false,
"type": "string"
}
],
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "Card Created!"
},
"400": {
"description": "Boo. Not Cool."
}
}
}
}
}
}