GET /api/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/coreapi+json
Vary: Accept

{
    "_type": "document",
    "_meta": {
        "title": "Lighten API"
    },
    "organizations": {
        "create": {
            "_type": "link",
            "url": "/organizations/",
            "action": "post",
            "encoding": "application/json",
            "fields": [
                {
                    "name": "uuid",
                    "required": true,
                    "location": "form",
                    "type": "string"
                },
                {
                    "name": "json",
                    "required": true,
                    "location": "form",
                    "type": "string"
                }
            ]
        },
        "delete": {
            "_type": "link",
            "url": "/organizations/{uuid}/",
            "action": "delete",
            "fields": [
                {
                    "name": "uuid",
                    "required": true,
                    "location": "path"
                }
            ]
        },
        "list": {
            "_type": "link",
            "url": "/organizations/",
            "action": "get",
            "fields": [
                {
                    "name": "page",
                    "location": "query"
                }
            ]
        },
        "partial_update": {
            "_type": "link",
            "url": "/organizations/{uuid}/",
            "action": "patch",
            "encoding": "application/json",
            "fields": [
                {
                    "name": "uuid",
                    "required": true,
                    "location": "path"
                },
                {
                    "name": "uuid",
                    "location": "form",
                    "type": "string"
                },
                {
                    "name": "json",
                    "location": "form",
                    "type": "string"
                }
            ]
        },
        "read": {
            "_type": "link",
            "url": "/organizations/{uuid}/",
            "action": "get",
            "fields": [
                {
                    "name": "uuid",
                    "required": true,
                    "location": "path"
                }
            ]
        },
        "update": {
            "_type": "link",
            "url": "/organizations/{uuid}/",
            "action": "put",
            "encoding": "application/json",
            "fields": [
                {
                    "name": "uuid",
                    "required": true,
                    "location": "path"
                },
                {
                    "name": "uuid",
                    "required": true,
                    "location": "form",
                    "type": "string"
                },
                {
                    "name": "json",
                    "required": true,
                    "location": "form",
                    "type": "string"
                }
            ]
        }
    },
    "users": {
        "create": {
            "_type": "link",
            "url": "/users/",
            "action": "post",
            "encoding": "application/json",
            "fields": [
                {
                    "name": "username",
                    "required": true,
                    "location": "form",
                    "type": "string",
                    "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
                },
                {
                    "name": "email",
                    "location": "form",
                    "type": "string"
                },
                {
                    "name": "is_staff",
                    "location": "form",
                    "type": "boolean",
                    "description": "Designates whether the user can log into this admin site."
                }
            ]
        },
        "delete": {
            "_type": "link",
            "url": "/users/{id}/",
            "action": "delete",
            "fields": [
                {
                    "name": "id",
                    "required": true,
                    "location": "path"
                }
            ]
        },
        "list": {
            "_type": "link",
            "url": "/users/",
            "action": "get",
            "fields": [
                {
                    "name": "page",
                    "location": "query"
                }
            ]
        },
        "partial_update": {
            "_type": "link",
            "url": "/users/{id}/",
            "action": "patch",
            "encoding": "application/json",
            "fields": [
                {
                    "name": "id",
                    "required": true,
                    "location": "path"
                },
                {
                    "name": "username",
                    "location": "form",
                    "type": "string",
                    "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
                },
                {
                    "name": "email",
                    "location": "form",
                    "type": "string"
                },
                {
                    "name": "is_staff",
                    "location": "form",
                    "type": "boolean",
                    "description": "Designates whether the user can log into this admin site."
                }
            ]
        },
        "read": {
            "_type": "link",
            "url": "/users/{id}/",
            "action": "get",
            "fields": [
                {
                    "name": "id",
                    "required": true,
                    "location": "path"
                }
            ]
        },
        "update": {
            "_type": "link",
            "url": "/users/{id}/",
            "action": "put",
            "encoding": "application/json",
            "fields": [
                {
                    "name": "id",
                    "required": true,
                    "location": "path"
                },
                {
                    "name": "username",
                    "required": true,
                    "location": "form",
                    "type": "string",
                    "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
                },
                {
                    "name": "email",
                    "location": "form",
                    "type": "string"
                },
                {
                    "name": "is_staff",
                    "location": "form",
                    "type": "boolean",
                    "description": "Designates whether the user can log into this admin site."
                }
            ]
        }
    }
}