PUT playable/…/forwarded

Accepts a playable (drill) that was forwarded to the calling user. A duplicate is created, and placed in the user's oeuvre.

Resource URL

https://www.drillster.com/api/2.1.1/playable/{playable_id}/forwarded

Parameters

Field Type Description
playable_id
required
String The ID of the playable that was forwarded to the caller.

If a PUT request has no body (i.e. the body is empty), it is still mandatory to include a Content-Length header (i.e. Content-Length: 0). Not all HTTP clients do this automatically. For more information, please see RFC 2616.

Response

A 2.1.1 Playable object, representing the playable that the user has just accepted.

Error responses

The following error situations are possible:

ID Response code Description
no_playable_specified 400 (Bad request) No playable was specified
forwarded_playable_too_large 400 (Bad request) The forwarded playable would exceed the repertoire quota
unknown_forwarded_playable 404 (Not found) The specified playable is not forwarded to this user