Project’s Labels

Use this resource to retrieve all labels available for a company. A label can be assigned to multiple projects.

See the project’s labels attribute to work with labels in the context of a single project.

Attributes

Name Type Description
resource_uri reference read only
company reference read only
text reference read only

List

/companies/{{companyId}}/labels/

Methods

  • GET
  • POST

Example response

{
  "meta": {
    "next": null,
    "previous": null,
    "total_count": 2
  },
  "objects": [
    {
      "company": "https://interview-suite.com/api/v3/companies/2/",
      "resource_uri": "https://interview-suite.com/api/v3/companies/4/labels/7/",
      "text": "Lorem office"
    },
    {
      "company": "https://interview-suite.com/api/v3/companies/4/",
      "resource_uri": "https://interview-suite.com/api/v3/companies/4/labels/8/",
      "text": "Ipsum office"
    }
  ]
}

Object

/companies/{{companyId}}/labels/{{labelId}}/

Methods

  • GET
  • PATCH
  • DELETE

Example response

{
  "company": "https://interview-suite.com/api/v3/companies/2/",
  "resource_uri": "https://interview-suite.com/api/v3/companies/2/labels/7/",
  "text": "Lorem office"
}