My Submissions
Introduction
The My Submissions resource provides and interface to create submissions for customers of publisher. For access to this resource, the session as to be authenticated as unprivileged user.
Example URL
https://api.openpublishing.com/resource/v3/my_submissions/[ID]
Allowed methods: GET
, PUT
, DELETE
.
For creating an My Submissions POST
an object to https://api.openpublishing.com/resource/v3/my_submissions
.
List submissions
List submissions
https://api.openpublishing.com/resource/v3/my_submissions
Fields
Title
title
: Title of submission.
Created
created
: Timestampe of the creation of the submission.
Example JSON
{
"_id": 112414,
"_links": {
"files": "https://api.openpublishing.com/resource/v3/my_submissions/112414/files"
},
"created": 1216054953,
"title": "Test Title"
}
Uploaded Files
The files subresource gives a list to the uploaded files:
https://api.openpublishing.com/resource/v3/my_submissions/[ID]/files
To create a new file, POST
a file to the URL.