|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (3)
View Page Historyh2. API draft
Considerations:
* The translator might behave differently for different formats, like Galaxy, SCUFL2 .wfbundle, WINGS - (arguably this could come from the Content-Type of the resource, but that might only works for single-resource workflows!)
* The given ro might or might not exist. RODL API should support PUT to create.
* Translation might take some time, so a status is returned
* Cache headers tell us
* The translator might behave differently for different formats, like Galaxy, SCUFL2 .wfbundle, WINGS - (arguably this could come from the Content-Type of the resource, but that might only works for single-resource workflows!)
* The given ro might or might not exist. RODL API should support PUT to create.
* Translation might take some time, so a status is returned
* Cache headers tell us
h3. POST a conversion
Last-Modified: Sat, 29 Oct 2010 20:54:41 GMT
ETag: "155"
ETag: "155"
Expires: Sat, 6 Nov 2010 20:54:41 GMT
{
204 No content
{code}
{code}
h3. Retrieving cancelled job
{code}
GET http://example.net/translate/jobs/fefe-fefefef-fefefefefefe HTTP/1.1
Authorization: OAuth realm="Wf4Ever", ...
410 Gone
{code}
h3. Retrieving expired job
{code}
GET http://example.net/translate/jobs/fefe-fefefef-fefefefefefe HTTP/1.1
Authorization: OAuth realm="Wf4Ever", ...
404 Not found
{code}