Skip to content

Documentation

Send one part

PUT/v1/drops/uploads/{id}/parts/{n}Drops

Send part n (from 1) as the request body with its Content-Length: part_bytes bytes, the last part the rest of the file. Sending a part again replaces it.

Parameters

ParameterTypeRequiredDescription
idstring, in the pathrequiredThe upload's id.
nstring, in the pathrequiredThe part's number, from 1.

Example request

curl -s -X PUT "https://snip.link/v1/drops/uploads/id/parts/n" \
  -H "Authorization: Bearer $SNIP_KEY"

Response fields

FieldTypeDescription
ninteger
bytesinteger

Errors

StatusMeaning
400The body or query is invalid. details names each field.
401The API key is missing, malformed or revoked.
404No link by that id or ending in this account.
409The ending is taken or reserved. Pick another.
429Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason).

Back to getting started