-
Notifications
You must be signed in to change notification settings - Fork 8
/
Event.json.postman_collection.json
90 lines (90 loc) · 3.17 KB
/
Event.json.postman_collection.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
{
"id": "421eae02-351d-1bb4-a190-5683ec8a4c0c",
"name": "JustGiving - Event",
"description": "",
"order": [
"a8b5c850-6446-79d1-66a0-1172b916dafa",
"1c3008df-6de4-cf14-89d8-d43f0f7b9960",
"4fccee7e-0e36-c1a0-4596-44cc57004f1b",
"7062d6e2-6d96-2dd8-550f-2a2a31e659f7"
],
"folders": [],
"timestamp": 1404828531684,
"owner": 0,
"public": false,
"hasRequests": true,
"requests": [
{
"id": "1c3008df-6de4-cf14-89d8-d43f0f7b9960",
"headers": "x-api-key: {{appId}}\nContent-Type: application/json\n",
"url": "{{url}}/v1/event/",
"preRequestScript": "",
"pathVariables": {},
"method": "POST",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1470752708122,
"name": "RegisterEvent",
"description": "Creates an event on JustGiving allowing you to programatically create pages for events you manage. Currently, these events will not show up in the JustGiving event search, this functionality will expand in the future. Please try to prevent creating duplicate events, or duplicate existing events (don't create your own London Marathon event!)",
"collectionId": "421eae02-351d-1bb4-a190-5683ec8a4c0c",
"rawModeData": "{\n \"name\": \"Playing Mario for 48 hours for charity\",\n \"description\": \"Playing Mario for charity\",\n \"id\": 12356,\n \"completionDate\": \"\\/Date(1455813144563+0000)\\/\",\n \"expiryDate\": \"\\/Date(1455813144563+0000)\\/\",\n \"startDate\": \"\\/Date(1424449944563+0000)\\/\",\n \"eventType\": \"OtherCelebration\",\n \"location\": \"My Living room\",\n \"charityId\": null\n}"
},
{
"collectionId": "421eae02-351d-1bb4-a190-5683ec8a4c0c",
"id": "4fccee7e-0e36-c1a0-4596-44cc57004f1b",
"name": "GetEventById",
"description": "Retrieves an event.",
"url": "{{url}}/v1/event/{eventId}",
"method": "GET",
"headers": "x-api-key: {{appId}}\nAccept: application/json\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1425179864613,
"preRequestScript": "",
"tests": "",
"rawModeData": ""
},
{
"id": "7062d6e2-6d96-2dd8-550f-2a2a31e659f7",
"headers": "x-api-key: {{appId}}\nAccept: application/json\n",
"url": "{{url}}/v1/event/types",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1442488325423,
"name": "GetEventTypes",
"description": "Gets all event types that can be used when creating an event.",
"collectionId": "421eae02-351d-1bb4-a190-5683ec8a4c0c",
"responses": []
},
{
"collectionId": "421eae02-351d-1bb4-a190-5683ec8a4c0c",
"id": "a8b5c850-6446-79d1-66a0-1172b916dafa",
"name": "GetPagesForEvent",
"description": "Retrieves a collection of page summaries that are assigned to a specific event",
"url": "{{url}}/v1/event/{eventId}/pages",
"method": "GET",
"headers": "x-api-key: {{appId}}\nAccept: application/json\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1425179876337,
"preRequestScript": "",
"tests": "",
"rawModeData": ""
}
]
}