TNS Internal:NDR/API/2.0/specification/getContent
From NSDLWiki
< TNS Internal:NDR | API | 2.0(Redirected from Community:NDR/API/2.0/specification/getContent)
NDR Project Documentation | Conceptual Framework | v1.0 NDR-API Index | v2.0 NDR-API Index | Model |
Under Construction
Proposed method for inclusion in NDR/API 2.x.
- Please provide feedback and comments in the NSDL Data Repository (NDR) API 2.0 Forum of the NSDL Community Forums.
NDR API Documentation - getContent
Get content that is stored in the NDR.
Request URL
- http://ndr.nsdlib.org/api/getContent/[handle]
- where [handle] is defined in the Arguments section.
- May be an HTTP GET or POST request.
Arguments
Parameters on Request URL:
- [handle] (required) - the externally resolvable identifier for the Stored Content.
Request URL Example
Below is an example of a request URL for retrieving content stored in the NDR.
http://ndr.nsdlib.org/api/getContent/2200/20061212656
Response
Structure of response:
- binary content - opens an http page displaying the binary content that was uploaded to the NDR
API Links:
- Conceptual Framework (2.0 philosophy)
- APIBasics
- ObjectTypes
- Encoding
- APIRequestsByObject v1.0
- APIRequestsAlphabetical v1.0
- APIRequestsByObject v2.0