Memberships API

These endpoints are only available to counselors and candidates, candidates can only view/edit items in their own resume

List memberships on a resume

Get a candidate’s memberships listed on their resume

GET /candidates/:candidate_id/resume/memberships

Response

Status: 200 OK
Link: <https://tapability.org/api/v1/resource?page=2>; rel="next",
      <https://tapability.org/api/v1/resource?page=5>; rel="last"
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
[
  {
    "id": "698c9bfb-29d9-4df1-9425-e93c948965d1",
    "description": "American Society for Training and Development (ASTD)",
    "source": "ATSD",
    "start_date": "2011-01-01",
    "end_date": "2013-12-31"
  }
]

Get a single membership

GET /candidates/:candidate_id/resume/memberships/:membership_id

Response

Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
  "id": "698c9bfb-29d9-4df1-9425-e93c948965d1",
  "description": "American Society for Training and Development (ASTD)",
  "source": "ATSD",
  "start_date": "2011-01-01",
  "end_date": "2013-12-31"
}

Create an membership

Create a new membership.

POST /candidates/:candidate_id/resume/memberships

Input

description
Required string
source
Required string
date
Optional string
{
  "description": "Emmy - Best Actor",
  "source": "Academy of Television Arts and Sciences",
  "date": "2012-09-23"
}

Response

Status: 201 Created
Location: https://tapability.org/api/v1/candidates/eaf3022f-330e-46db-8665-01e0969ff2f7/resume/memberships/2894c358-f2d0-4a3f-952f-5afdb8dd81aa
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
  "id": "698c9bfb-29d9-4df1-9425-e93c948965d1",
  "description": "American Society for Training and Development (ASTD)",
  "source": "ATSD",
  "start_date": "2011-01-01",
  "end_date": "2013-12-31"
}

Update an membership

Update the provided membership.

PATCH /candidates/:candidate_id/resume/memberships/:membership_id

Input

description
Required string
source
Required string
date
Optional string
{
  "description": "Emmy - Best Actor",
  "source": "Academy of Television Arts and Sciences",
  "date": "2012-09-23"
}

Response

Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
{
  "id": "698c9bfb-29d9-4df1-9425-e93c948965d1",
  "description": "American Society for Training and Development (ASTD)",
  "source": "ATSD",
  "start_date": "2011-01-01",
  "end_date": "2013-12-31"
}

Delete an membership

Delete the provided membership.

DELETE /candidates/:candidate_id/resume/memberships/:membership_id

Response

Status: 204 No Content
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999