TNS Internal:NDR/API/2.0/specification/getResourceURL

From NSDLWiki

Jump to: navigation, search

 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 - getResourceURL

Get the registered URL for a resource in the NDR.

Request URL[handle]
where [handle] is defined in the Arguments section.
May be an HTTP GET or POST request.


Parameters on Request URL:

  • [handle] (optional) - the externally resolvable identifier of the resource or a metadata record for the resource

Request URL Example

Below is an example of a request URL for getting the web URL of a registered resource.</nowiki>


Structure of response:

  • resourceURL - registered URL for the Resource
  • handle - the externally resolvable identifier for the Resource.
  • handleURL - the permanent URL to an XML representation of the resource in the NDR.
  • contentType - mimetype of internally stored content NOTE: Not specified for external content.

Response Example

Below is an example response for this request.

<?xml version="1.0" encoding="UTF-8"?>
<NSDLDataRepository schemaVersion="1.00.000" 

API Links:

Additional Links Related to This Call:

Personal tools