Difference between revisions of "Directories"
From Advice Local Wiki
(Created page with "== Get all Directories == === API Endpoint === <syntaxhighlight lang="html"> http://p.lssdev.com/directories </syntaxhighlight> === Example Request === <syntaxhighlight lang=...") |
(→Get all Directories) |
||
Line 1: | Line 1: | ||
== Get all Directories == | == Get all Directories == | ||
+ | Returns a list of directories from the system. | ||
=== API Endpoint === | === API Endpoint === | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> |
Latest revision as of 19:50, 15 December 2017
Get all Directories
Returns a list of directories from the system.
API Endpoint
http://p.lssdev.com/directories
Example Request
GET /directories HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json
Example Response
{
"status": 200,
"success": true,
"error": null,
"data": [
{
"country": "US",
"name": "Merchant Circle",
"module": "merchantcircle",
"website": "http://www.merchantcircle.com",
"enabled": true,
"frequency": "month",
"frequencyInterval": 1,
"pendingFrequency": "days",
"pendingFrequencyInterval": 2,
"foundFrequency": "month",
"foundFrequencyInterval": 1,
"successFrequency": "month",
"successFrequencyInterval": 2,
"createdAt": "2016-07-14T15:54:46.921Z",
"updatedAt": "2016-07-14T15:54:46.921Z",
"id": "5787b5c6b12268e525407213"
},
{
"country": "US",
"name": "Yelp",
"module": "yelp",
"website": "http://www.yelp.com",
"enabled": true,
"frequency": "month",
"frequencyInterval": 1,
"pendingFrequency": "days",
"pendingFrequencyInterval": 2,
"foundFrequency": "month",
"foundFrequencyInterval": 1,
"successFrequency": "month",
"successFrequencyInterval": 2,
"createdAt": "2016-07-14T15:54:47.322Z",
"updatedAt": "2016-07-14T15:54:47.322Z",
"id": "5787b5c7b12268e525407214"
},
{
"country": "US",
"name": "FourSquare",
"module": "foursquare",
"website": "http://www.foursquare.com",
"enabled": true,
"frequency": "month",
"frequencyInterval": 1,
"pendingFrequency": "days",
"pendingFrequencyInterval": 2,
"foundFrequency": "month",
"foundFrequencyInterval": 1,
"successFrequency": "month",
"successFrequencyInterval": 2,
"createdAt": "2016-07-14T15:54:47.688Z",
"updatedAt": "2016-07-14T15:54:47.688Z",
"id": "5787b5c7b12268e525407215"
},
{...},
{...}
],
"total": 154
}