anchor.diff:  
       + Headers
   
  -            Location: /repos/17/vocabularies/2
  -
  -    + Body
  -
  -            {
  -                "name": "learning objectives",
  -                "description": "learning objectives description",
  -                "vocabulary_type": "m"
  -                "weight": 1
  -                "learning_resource_types": [
  -                    "Problem",
  -                    "Vertical"
  -                ]
  -            }
  -
  -
  -## Term [/repos/{repo_id}/vocabs/{vocab_id}/term/{term_id}]
  -
  -+ Parameters
  -    + repo_id: `17` (number, required) - ID of the Repository
  -    + vocab_id: 1 (required, String) - ID of the Vocabulary
  -    + term_id: 1 (required, String) - ID of the Taxonomy term
  +            Location: /api/v1/repositories/physics-1/vocabularies/difficulty/
  +
  +    + Body
  +
  +        {
  +            "id": 7,
  +            "slug": "difficulty",
  +            "name": "difficulty",
  +            "description": "Learning resource difficulty",
  +            "vocabulary_type": "m",
  +            "required": true,
  +            "weight": 1,
  +            "learning_resource_types": [
  +                "Problem",
  +                "Vertical"
  +            ]
  +        }
  +
  +
  +## Vocabulary [/repositories/{repo_slug}/vocabularies/{vocab_slug}/]
  +
  +
  ++ Parameters
  +    + repo_slug: `physics-1` (string, required) - slug for the repository
  +    + vocab_slug: `difficulty` (string, required) - slug for the vocabulary
  +
  +### View a Vocabulary [GET]
  +
  ++ Response 200 (application/json)
  +
  +        {
  +            "id": 7,
  +            "slug": "difficulty",
  +            "name": "difficulty",
  +            "description": "Learning resource difficulty",
  +            "vocabulary_type": "m",
  +            "required": true,
  +            "weight": 1,
  +            "learning_resource_types": [
  +                "Problem",
  +                "Vertical"
  +            ]
  +        }
  +
  +### Partially update a Vocabulary [PATCH]
  +
  ++ Request (application/json)
  +
  +        {
  +            "vocabulary_type": "f"
  +        }
  +
  ++ Response 200 (application/json)
  +
  +        {
  +            "id": 7,
  +            "slug": "difficulty",
  +            "name": "difficulty",
  +            "description": "Learning resource difficulty",
  +            "vocabulary_type": "f",
  +            "required": true,
  +            "weight": 1,
  +            "learning_resource_types": [
  +                "Problem",
  +                "Vertical"
  +            ]
  +        }
  +
  +### Update a Vocabulary [PUT]
  +
  ++ Request (application/json)
  +
  +        {
  +            "id": 7,
  +            "slug": "difficulty",
  +            "name": "difficulty",
  +            "description": "Learning resource difficulty",
  +            "vocabulary_type": "f",
  +            "required": false,
  +            "weight": 123
  +        }
  +
  ++ Response 200 (application/json)
  +
  +
  +        {
  +            "id": 7,
  +            "slug": "difficulty",
  +            "name": "difficulty",
  +            "description": "Learning resource difficulty",
  +            "vocabulary_type": "f",
  +            "required": false,
  +            "weight": 123
  +        }
  +
  +## Group Terms
  +
  +## Terms Collection [/repositories/{repo_slug}/vocabularies/{vocab_slug}/terms/{?learning_resource_type%5b%5d}]
  +
  ++ Parameters
  +    + repo_slug: `physics-1` (string, required) - slug for the repository
  +    + vocab_slug: `difficulty` (string, required) - slug for the vocabulary
  +    + learning_resource_type: `chapter` (string, optional) - types of learning resources
  +
  +### List All Terms [GET]
  +
  ++ Response 200 (application/json)
  +
  +    + Body
  +
  +        {
  +            "count": 1,
  +            "next": null,
  +            "previous": null,
  +            "results": [
  +                {
  +                    "id": 1,
  +                    "slug": "easy",
  +                    "label": "Easy",
  +                    "weight": 1
  +                }
  +            ]
  +        }
  +
  +### Create a New Term [POST]
  +
  ++ Request (application/json)
  +
  +        {
  +            "label": "Easy",
  +            "weight": 1
  +        }
  +
  ++ Response 201 (application/json)
  +
  +    + Headers
  +
  +            Location: /api/v1/repositories/physics-1/vocabularies/difficulty/terms/easy
  +
  +    + Body
  +
  +        {
  +            "id": 1,
  +            "slug": "easy",
  +            "label": "Easy",
  +            "weight": 1
  +        }
  +
  +## Term [/repositories/{repo_slug}/vocabularies/{vocab_slug}/terms/{term_slug}/]
  +
  ++ Parameters
  +    + repo_slug: `physics-1` (string, required) - slug for the repository
  +    + vocab_slug: `difficulty` (string, required) - slug for the vocabulary
  +    + term_slug: `easy` (string, required) - slug for the term
   
   ### View a Term [GET]
   
   + Response 200 (application/json)
   
           {
  -            "tbd": "tbd",
  -        }
  -
  -
  -## Terms Collection [/repos/{repo_id}/vocabs/{vocab_id}/terms{?learning_resource_type%5b%5d}]
  -
  -+ Parameters
  -    + repo_id: `17` (number, required) - ID of the Repository
  -    + vocab_id: `7` (number, required) - ID of the Vocabulary
  -    + learning_resource_type: `1` (number, optional) - types of learning resources
  -
  -### List All Terms [GET]
  -
  -+ Response 200 (application/json)
  -
  -    + Headers
  -
  -            Link: </repos/17/vocabs/7/terms?page=2>; rel="next"
  -
  -    + Body
  -
  -            [
  -                {
  -                    "tbd": "tbd",
  -                }
  -            ]
  +            "id": 1,
  +            "slug": "easy",
  +            "label": "Easy",
  +            "weight": 1
  +        }
  +
  +### Partially update a Term [PATCH]
  +
  ++ Request (application/json)
  +
  +        {
  +            "weight": 2
  +        }
  +
  ++ Response 200 (application/json)
  +
  +        {
  +            "id": 1,
  +            "slug": "easy",
  +            "label": "Easy",
  +            "weight": 2
  +        }
  +
  +### Update a term [PUT]
  +
  ++ Request (application/json)
  +
  +        {
  +            "label": "Easy",
  +            "weight": 3
  +        }
  +
  ++ Response 200 (application/json)
  +
  +        {
  +            "id": 1,
  +            "slug": "easy",
  +            "label": "Easy",
  +            "weight": 3
  +        }
   
   ## Group Members
   
   Represents users / members of the repository
   
  -## Member [/repos/{repo_id}/members/{member_id}]
  -
  -+ Parameters
  -    + repo_id: `17` (number, required) - ID of the Repository
  +## Member [/repositories/{repo_slug}/members/{member_id}/]
  +
  ++ Parameters
  +    + repo_slug: `physics-1` (string, required) - slug for the repository
       + member_id: `107` (number, required) - ID of the user in the system
   
   ### View a Member [GET]
  
positive.code: 
  # LORE
  
  Simple API on top of MIT LORE application
  
  # URL
  URL Structure is `https://{domain}/api/v1/{resource}/{resource_id}`
  
  | Code   | Description |
  | ---    | --- |
  |`{domain}`    | The domain of the LORE service. `private-b0103d-lore.apiary-mock.com/` is the Apiary mock server. |
  |`/api/v1/`    | The service endpoint includes the current version (v1) |
  |`{resource}`  | The resource endpoint for a specific set of objects in the system. Supported endpoints include repositories, vocabularies, learningresources, members|
  |`{resource_id}`  |The `resource_id` sets the unique identifier (name or numerical) for a specific object to reference |
  
  *Example: `http://lore.mit.edu/api/v1/repos` will return a json representation of all repositories.*
  
  *Example: `http://lore.mit.edu/api/v1/repos/physics1` will return a json representation of the repository with name "physics1".*
  
  *Example: `http://lore.mit.edu/api/v1/repos/physics1/learningresources/1007` will return a json representation
  of the learning resource with ID= 1007.*
  
  
  # Operations
  LORE API uses the following HTTP verbs
  
  | Verb   | Description |
  | ---    | --- |
  |`GET`   |Select one or more items. Success returns 200 status code with json result item(s) in body.|
  |`POST`  |Create a new item. Success returns 201 status code with newly created json item in body.|
  |`PUT`   |Update an item. Success returns 200 status code with updated json item in body.|
  |`DELETE`|Delete an item. Success returns 204 status code with no body.|
  
  # Status Codes
  The API responds with one of the following status codes.
  
  | Code| Description |
  | --- | --- |
  |`200`| Success. Request completed. |
  |`201`| Success. New resource created. |
  |`204`| Success. No content to return. Only the status code returns. |
  |`400`| Bad Request - The request could not be parsed. |
  |`401`| Unauthorized - user is not logged in, cannot access resource. |
  |`404`| Not Found - resource doesn't exist. |
  |`422`| Unprocessable Entity - The request could not be parsed due to validation errors. |
  |`500`| Server error. |
  
  
  # Authentication
  
  tbd.
  
  # Pagination
  
  Requests that return multiple items all accept a `?page` parameter
  
  Example: `http://lore.mit.edu/api/v1/repos?page=2`
  
  Page numbering is 1-based. Omitting the ?page parameter will return the first page.
  
  # LORE API Root [/]
  
  ## Retrieve the Entry Point [GET]
  
  + Response 200 (application/json)
  
          {
              "repositories_url": "/repos"
          }
  
  
  
  ## Group Repositories
  
  Repository resource
  
  ## Repositories [/repos/{repo_name}]
  
  + Parameters
      + repo_name: `physics-intro` (string, required) - name of the repository
  
  ### Retrieve a repository [GET]
  
  + Response 200 (application/json)
  
          {
              "tbd": "tbd",
          }
  
  ### Delete a repository [DELETE]
  Delete the repository and all its associated resources (learning resources, vocabularies etc.)
  
  + Response 204
  
  ### Create a New Repository [POST]
  
  Create a repository by providing its JSON representation
  
  + Request (application/json)
  
  
negative.code:             "tbd": "tbd"
          }
  
  ## Members Collection [/repositories/{repo_slug}/members/{?role_id}]
  
  + Parameters
      + repo_slug: `physics-1` (number, required) - ID of the Repository
      + role_id: ID of the role this member belongs to
  
  
  ### List All Members [GET]
  
  + Response 200 (application/json)
  
      + Body
  
  