API

Introduction

Overview

The Dropmark API is organized around REST. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors.

Requests

All POST and PUT attributes must be sent as application/x-www-form-urlencoded or multipart/form-data.

$ curl -H 'X-API-Key: {api_key}' \
       -u '{user_id}:{user_token}' \
       -F 'name=New%20collection' \
       -F 'type=private' \
       https://api.dropmark.com/v1/collections

Responses

JSON is returned by all API responses, including errors. For example responses, see the endpoint documentation.