Resources
Create a new resource
Create a new resource associated with a registration.
post/resources/
Request
- Base URLhttps://api.test.osf.io/v2
- URLhttps://api.test.osf.io/v2/resources/
- Authnone declared
Request body
Example request
{
"data": {
"type": "resources",
"attributes": {
"description": "Dataset resource",
"resource_type": "data"
},
"relationships": {
"registration": {
"data": {
"type": "registrations",
"id": "reg123"
}
}
}
}
}Response
Successfully created a new resource.
Changes
No recorded changes to this operation across all 2 revisions of this API.