Skip to content

Commit

Permalink
Include note on timestamp conformity in the HTTP API
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 authored and hoffmabc committed Jun 17, 2019
1 parent d9fec3f commit 196b322
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/reference/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,9 @@ When the OpenBazaar server starts for the first time, it generates a unique iden
The first step after generating an identity is to create a public profile and configure your private settings for the node. Creating a public facing profile will allow other users to see details such as display name, avatar, and header image when they visit your node. This can be done with `POST /ob/profile` to create and `PUT /ob/profile` to update. The Peer ID can be retrieved by calling `GET /ob/config`. The settings allow you to set your preferred currency (to display prices), country, create a delivery etc; these setting are private and are not visible to the network. This can be done with `POST /ob/settings` to create or `PUT /ob/settings` to update.

For a full list of API endpoints, please review the current HTTP API documentation available at https://api.docs.openbazaar.org.

### Timestamps in the API
The HTTP API returns RFC3339-compliant timestamps which typically take the following forms:

- without sub-second precision `2017-08-17T04:52:19Z`
- with sub-second precision `2017-08-17T04:52:19.00000001Z` which may have an inconsistent number of places after the decimal

0 comments on commit 196b322

Please sign in to comment.