Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.15 KB

15_Organizations.md

File metadata and controls

49 lines (36 loc) · 1.15 KB

Organization

Retrieving Organization Information

This call returns the organization information for the requested Organization.

Definition

GET /api/v1/:organization_name

Example Request

$ curl -H 'Authorization: Bearer <your access token>' 'https://api.layervault.com/api/v1/layervault'

Example Response

{
  "name":"LayerVault",
  "deleted_at": null,
  "updated_at":"2013-10-22T00:11:57Z",
  "full_url":"https://layervault.com/layervault",
  "sync_type":"layervault",
  "projects": [
    {
      "name":"api-playground",
      "deleted_at":null,
      "updated_at":"2013-10-21T19:05:40Z",_
      "color":null,
      "member": true
    }
  ]
}

Arguments

No arguments are required.

Returns

  • HTTP Status: 200

Returns a JSON object containing:

  • name - The full name of the Organization.
  • deleted_at - The date the organization was deleted.
  • full_url - The full URL to access the Organization.
  • sync_type - Indicates whether the Synchronization used is either layervault or dropbox.
  • projects - An array of the projects that the user is able to see or are public for that Organization.