Conventions
Schemas
All data is sent and received as JSON objects.
Field Formats
Fields are named in lowercase and in snake case (ex: my_parameter
).
Type |
Format |
Example |
---|---|---|
integer |
number |
|
float |
number |
|
string |
string |
|
boolean |
json boolean |
|
null |
json null |
|
datetime |
ISO-8601 (`YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM |
-HH:MM |
uuid |
base57 |
|
Parameters
Many API methods take optional parameters. For GET
and DELETE
requests, any parameters not specified as a segment in the path can be passed as an HTTP query string parameter.
For POST
and PUT
requests, parameters not included in the URL should be encoded as JSON with a Content-Type of application/json
.
The formatting used is the same as for fields.
Server Hosts
Production environments currently operate from the application hostname:
LucidSource:
https://source.lucidgreen.io
LucidRetail:
https://retail.lucidgreen.io
Testing environments are available, and will be provided for all integrations:
LucidSource:
https://source-test.lucidgreen.io
LucidRetail:
https://retail-test.lucidgreen.io
Test environments may become unusable or unavailable from time to time as they are upgraded and new services are tested. If you have any issues with connectivity, please contact us using the instructions provided in Contact and Support.