Skip to content

Commit

Permalink
Prov api doc updates #4343
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-a-dunlap committed Apr 30, 2018
1 parent dcf2679 commit 03ed59e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,11 @@ Get Provenance Description for an uploaded file::

GET http://$SERVER/api/files/{id}/prov-freeform?key=$apiKey

Create Provenance JSON for an uploaded file::
Create Provenance JSON and provide related entity name for an uploaded file::

POST http://$SERVER/api/files/{id}/prov-json?key=$apiKey -H "Content-type:application/json"
POST http://$SERVER/api/files/{id}/prov-json?key=$apiKey&entityName=$entity -H "Content-type:application/json"

Create Provenance Description for an uploaded file::
Create Provenance Description for an uploaded file. Requires a JSON file with the description connected to a key named "text"::

POST http://$SERVER/api/files/{id}/prov-freeform?key=$apiKey -H "Content-type:application/json"

Expand Down

0 comments on commit 03ed59e

Please sign in to comment.