Sha256: 3124436d31f5a0a2e480e75df2a4c0a3d92364fd3a7dd72f36fea5a942c68de0

Contents?: true

Size: 1.6 KB

Versions: 7

Compression:

Stored size: 1.6 KB

Contents

{ "type":"object",
  "title": "tag",
  "description":"A tag",
  "properties": {
    "id": {
      "description": "uuid of the object.",
      "identity":true,
      "readonly":true,
      "type":"string"
    },
    "name": {
      "description": "The tag itself",
      "readonly":true,
      "type":"string"
    },    
    "taggings_count": {
      "description": "Usage count of this tag, for all objects in whole company scope.",
      "readonly":true,
      "type":"number"
    }    
  },
  "links":[
    { "rel": "self",
      "href": "tags/{id}"
    },
    { "rel": "instances",
      "href": "tags",
      "properties" : {
        "page":{
          "title" : "Page",
          "description": "In paginated results set the page to look for",
          "type":"number"
        },
        "per_page":{
          "title" : "Per page",
          "description": "Results per page. Default is 10, max is 100",
          "type":"number"
        },
        "filter[q]":{
          "title" : "Search",
          "description": "Search in name",
          "type":"string"
        },
        "filter[related_object_type]":{
          "title" : "Related object type",
          "description": "Filter tags by their related object base type",
          "type":"string"
        },
        "sort_by":{
          "title" : "Sort by",
          "description": "Sort the results by the given field",
          "enum":["filename","taggings_count"],
          "type": "string"
        },
        "sort":{
          "title" : "Sort",
          "enum":["ASC","DESC"],
          "description": "Sort the results in ASC or DESC"
        }
      }
    }
  ]
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sk_api_schema-0.2.3 json/v1.0/tag.json
sk_api_schema-0.2.2 json/v1.0/tag.json
sk_api_schema-0.2.1 json/v1.0/tag.json
sk_api_schema-0.2.0 json/v1.0/tag.json
sk_api_schema-0.1.2 json/v1.0/tag.json
sk_api_schema-0.1.1 json/v1.0/tag.json
sk_api_schema-0.1.0 json/v1.0/tag.json