Attributes | Values |
---|
type
| |
described by
| |
name
| |
schema:contentType
| |
description
| - Executes a registered service action and returns any output from the action.
The data returned in the POST response body may be: the raw action output, a URL encapsulating the action request which executes the action when dereferenced
(only for actions using GET), RDF generated from the action output, a URL to an RDF viewer's display of the generated RDF.
Any parameters required by the action are supplied as a JSON object in the POST body. The parameter types supported are: "query", "header", "uri", "path" and "body".
The parameter type determines where a supplied parameter value is inserted into the HTTP request constructed by OSDB to invoke the target service action.
In addition to native parameters required by the service action, 'Execute action' accepts some OSDB-specific parameters.
|
schema:encodingType
| |
schema:httpMethod
| |
schema:urlTemplate
| |
Usage Example
| - curl -ikL -X POST -d '{ "latitude":"37.7759792", "longitude":"-122.41823", "osdb:output_type":"display_rdf" }' -H 'Content-Type: application/json' https://osdb.openlinksw.com/osdb/api/v1/actions/uber/products/exec
- curl -ik -X POST -d '{ "q":"skiing", "osdb:output_type": "url_only" }' -H 'Content-Type: application/json' https://osdb.openlinksw.com/osdb/api/v1/actions/facet/search/exec
- curl -ik -X POST -d '{ "q":"skiing", "osdb:response_format": "application/rdf+xml" }' -H 'Content-Type: application/json' https://osdb.openlinksw.com/osdb/api/v1/actions/facet/search/exec
- curl -ikL -X POST -d '{ "latitude":"37.7759792", "longitude":"-122.41823", "osdb:output_type":"generate_rdf", "osdb:response_format":"application/rdf+xml" }' -H 'Content-Type: application/json' https://osdb.openlinksw.com/osdb/api/v1/actions/uber/products/exec
- curl -ik -X POST -d '{ "latitude":"37.7759792", "longitude":"-122.41823" }' -H 'Content-Type: application/json' https://osdb.openlinksw.com/osdb/api/v1/actions/uber/products/exec
|
hasParameter
| |
oplwebservices:isEntryPointOf
| |
is topic
of | |
is target
of | |