TNS Internal:NDR/API/2.0/implementationDetails/addContent
From NSDLWiki
< TNS Internal:NDR | API | 2.0 | implementationDetails
Return to NDR/API 2.0 Requests By Object
Contents[hide] |
Under Construction
Proposed method for inclusion in NDR/API 2.0.
NDR API Implementation Details - addContent
Upload content into NDR and register as a resource.
Discussions
Input Discussions
- binary content
- content-type
Output Discussions
SUCCESS
- handle (resource object)
- handleURL (resource registration)
- resourceURL - URL to new (internal) resource
FAIL Error if content is too big
Processing Discussions
Creates NDR objects...
- Resource
- upload the content
- add the fedora url to the content as the ResourceURL property
Should a metadata object also be created to describe the content?
Should a relationship to a collection be established to contain the resource and metadata?
Per John, these will be a separate call to addMetadataRecord which establishes both the metadataRecord and the Collection it lives in.
General Discussions
Implementation
Developer: TBA
Basic description of the process...
- TBA
Links
API Links:
- Conceptual Framework (2.0 philosophy)
- APIBasics
- ObjectTypes
- Encoding
- APIRequestsByObject v1.0
- APIRequestsAlphabetical v1.0
- APIRequestsByObject v2.0