-
Notifications
You must be signed in to change notification settings - Fork 8
/
Account.json.postman_collection.json
160 lines (160 loc) · 5.81 KB
/
Account.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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"id": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"name": "JustGiving - Account",
"description": "",
"order": [
"4d0072e1-179c-55eb-7fda-f5537b67c038",
"0a738021-b169-f140-8ce9-67690c65eedc",
"0d3441c3-50d5-49a4-cd82-0e92a1b4aad0",
"8ed8dfd2-f5fc-8f55-3d93-94526530b8be",
"fcd03df7-f007-1c30-6e7b-9e9018dad1cd",
"5b011d1f-5017-2278-4369-2cb4ca2bbb0e",
"80e6b165-f59a-1761-b3aa-985a41bdf429",
"9023f723-d2f8-b0f3-b638-f929563aecdb"
],
"folders": [],
"timestamp": 1404826161432,
"owner": 0,
"public": false,
"published": false,
"requests": [
{
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"id": "0a738021-b169-f140-8ce9-67690c65eedc",
"name": "AccountRegistration",
"description": "Registers an user account with JustGiving.",
"url": "{{url}}/v1/account",
"method": "PUT",
"headers": "x-api-key: {{appId}}\nContent-Type: application/json\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"preRequestScript": "",
"tests": "",
"rawModeData": "{\n \"acceptTermsAndConditions\": true,\n \"address\": {\n \"country\": \"United Kingdom\",\n \"countyOrState\": \"London\",\n \"line1\": \"First Floor\",\n \"line2\": \"30 Eastbourne Terrace\",\n \"postcodeOrZipcode\": \"W2 6LA\",\n \"townOrCity\": \"London\"\n },\n \"causeId\": null,\n \"email\": \"myAwes111omeEmail@test456.com\",\n \"firstName\": \"John\",\n \"lastName\": \"Smith\",\n \"password\": \"S3cr3tP4ssw0rd\",\n \"reference\": \"Your Reference\",\n \"title\": \"Mr\"\n}"
},
{
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"id": "0d3441c3-50d5-49a4-cd82-0e92a1b4aad0",
"name": "Validate",
"description": "Validates a set of supplied user credentials against the JustGiving database. It is not recommended to use this for authentication in your own application, but it can be used to verify credentials before attempting to use them.",
"url": "{{url}}/v1/account/validate",
"method": "POST",
"headers": "x-api-key: {{appId}}\nContent-Type: application/json\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"preRequestScript": "",
"tests": "",
"rawModeData": "{\n \"email\": \"{email}\",\n \"password\": \"somepassword\"\n}"
},
{
"id": "4d0072e1-179c-55eb-7fda-f5537b67c038",
"headers": "x-api-key: {{appId}}\nAuthorization: Basic {{basicAuth}}\nAccept: application/json\n",
"url": "{{url}}/v1/account",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1470749250483,
"name": "RetrieveAccount",
"description": "Retrieves the currently authenticated users account summary.",
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"rawModeData": ""
},
{
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"id": "5b011d1f-5017-2278-4369-2cb4ca2bbb0e",
"name": "AccountAvailabilityCheck",
"description": "Checks the availability of a JustGiving account by email address. This is useful to discern if a user is already registered on JustGiving.",
"url": "{{url}}/v1/account/{email}",
"method": "HEAD",
"headers": "x-api-key: {{appId}}\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1425163233885,
"preRequestScript": "",
"tests": "",
"rawModeData": "{\n \"email\": \"{email}\",\n \"password\": \"somepassword\"\n}"
},
{
"id": "80e6b165-f59a-1761-b3aa-985a41bdf429",
"headers": "x-api-key: {{appId}}\nContent-Type: application/json\n",
"url": "{{url}}/v1/account/password",
"preRequestScript": "",
"pathVariables": {},
"method": "POST",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1470751180458,
"name": "ChangePassword",
"description": "Change a users JustGiving password.\n\nA response document with a message representing success or failure",
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"rawModeData": "{\n \"emailAddress\": \"{email}\",\n \"newPassword\": \"newpassword\",\n \"currentPassword\": \"oldpassword\"\n}"
},
{
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"id": "8ed8dfd2-f5fc-8f55-3d93-94526530b8be",
"name": "GetFundraisingPagesForUser",
"description": "Lists all fundraising Pages for the supplied email.",
"url": "{{url}}/v1/account/{email}/pages",
"method": "GET",
"headers": "x-api-key: {{appId}}\nAccept: application/json\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1427216526487,
"preRequestScript": "",
"tests": "",
"rawModeData": ""
},
{
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"id": "9023f723-d2f8-b0f3-b638-f929563aecdb",
"name": "RequestPasswordReminder",
"description": "Requests a password reminder email be sent to an existing JustGiving user",
"url": "{{url}}/v1/account/{email}/requestpasswordreminder",
"method": "GET",
"headers": "x-api-key: {{appId}}\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1427216556704,
"preRequestScript": "",
"tests": "",
"rawModeData": ""
},
{
"collectionId": "aed6a227-c9c6-84d9-f134-6ad89c66e428",
"id": "fcd03df7-f007-1c30-6e7b-9e9018dad1cd",
"name": "GetDonationsForUser",
"description": "Lists all donations for the authenticated email.",
"url": "{{url}}/v1/account/donations",
"method": "GET",
"headers": "x-api-key: {{appId}}\nAccept: application/json\nAuthorization: Basic {{basicAuth}}\n",
"data": [],
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1424444206856,
"preRequestScript": "",
"tests": "",
"rawModeData": ""
}
]
}