-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathservice.json
41 lines (41 loc) · 1.17 KB
/
service.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
{
"name": "LocalBtc",
"apiVersion": "2013-10-15",
"baseUrl": "https://localbitcoins.com",
"description": "An API to access LocalBitcoins.com",
"operations": {
"AccountInfo": {
"httpMethod": "GET",
"uri": "/api/account_info/{username}/",
"summary": "Returns the public profile of a user",
"responseClass": "AccountInfoOutput",
"parameters": {
"username": {
"location": "uri",
"description": "The username of a user",
"required": true
}
}
},
"Myself": {
"httpMethod": "GET",
"uri": "/api/myself/",
"summary": "Return the information of the currently logged in user",
"responseClass": "MyselfOutput"
}
},
"models": {
"AccountInfoOutput": {
"type": "array"
},
"MyselfOutput": {
"type": "object",
"properties": {
"data": {
"location": "json",
"type": "object"
}
}
}
}
}