Tag Related

List of Tags

Returns an array of Tag Objects

Provides a listing of all tags on a user account. It is useful for building interfaces for a user to choose from existing tags.

Definition

GET /tag/

Query Parameters

Parameter Description
tag_istartswith
Optional, default is null
(STRING) Tag prefix filter. Multiple tags can be specified by comma separating them. That will perform an OR search. AND search is not possible at this time.
page
Optional, default is 1
(INTEGER) Specifies the page of paginated results to return.
limit
Optional, default is 10, max is 250. Though accounts have lower limits on vehicles that can be attached to an account.
(INTEGER) Number of results per page

Example Request

curl  "https://api.vehiclemind.com/tag/?limit=1" \
  -H "Authorization:Bearer e5cdd2a2f2c52ac2ff9825f53ac566f45c513991"

Sample Response

{
  "_metadata": {
    "count": 2,
    "next": "https://api.vehiclemind.com/tag/?limit=1&page=2",
    "previous": null
  },
  "results": [
    {
      "tag": "business"
    }
  ]
}

Get a specific tag

Returns a Tag Object

Definition

GET /tag/{slug}/

Query Parameters

None

Example Request

curl  "https://api.vehiclemind.com/tag/{slug}/" \
  -H "Authorization:Bearer e5cdd2a2f2c52ac2ff9825f53ac566f45c513991"

Sample Response

{
  "tag": "business"
}