Skip to content

Commit

Permalink
Add docs for GET requests
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai committed Feb 17, 2017
1 parent 2860e76 commit e45c062
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ To check if your POST was successful, try validating by doing the following:

or

1. Try to [request for the entity with a GET request](#requesting-submitted-entities)

or

1. Open your browser and go to `http://localhost:9984/api/v1` (your locally
running BigchainDB instance - if using the default Docker settings, use port
`32768` instead).
Expand Down Expand Up @@ -366,6 +370,17 @@ manifestation](#was-my-post-to-manifestations-successful) and use the returned
Right's data instead.


### Requesting Submitted Entities

You can retrieve any submitted entities via a GET to one of the following
endpoints with the entity's ID (usually the `@id` stripped of any relative URL
artifacts):

* `/manifestations/<manifestation_id>`: Manifestations
* `/works/<work_id>`: Works
* `/rights/<right_id>`: Copyrights and Rights


### Querying the ownership history of a Right

The ownership history of a Right is represented as an time-series array of
Expand Down

0 comments on commit e45c062

Please sign in to comment.