repo/rest-api/specs/resources/labels/responses.json
{
"ItemLabels": {
"description": "Item's labels by language",
"headers": {
"Last-Modified": {
"description": "Last modified date",
"schema": { "type": "string" }
},
"ETag": {
"description": "Last entity revision number",
"schema": { "type": "string" }
},
"X-Authenticated-User": {
"description": "Optional username of the user making the request",
"schema": { "type": "string" }
}
},
"content": {
"application/json": {
"schema": { "$ref": "../../global/schemas.json#/Labels" },
"example": {
"en": "Jane Doe",
"ru": "Джейн Доу"
}
}
}
},
"PropertyLabels": {
"description": "Property's labels by language",
"headers": {
"Last-Modified": {
"description": "Last modified date",
"schema": { "type": "string" }
},
"ETag": {
"description": "Last entity revision number",
"schema": { "type": "string" }
},
"X-Authenticated-User": {
"description": "Optional username of the user making the request",
"schema": { "type": "string" }
}
},
"content": {
"application/json": {
"schema": { "$ref": "../../global/schemas.json#/Labels" },
"example": {
"en": "instance of",
"ru": "это частный случай понятия"
}
}
}
},
"ItemLabel": {
"description": "A label in a specific language",
"headers": {
"Last-Modified": {
"description": "Last modified date",
"schema": { "type": "string" }
},
"ETag": {
"description": "Last entity revision number",
"schema": { "type": "string" }
},
"X-Authenticated-User": {
"description": "Optional username of the user making the request",
"schema": { "type": "string" }
}
},
"content": {
"application/json": {
"schema": { "type": "string" },
"example": "Jane Doe"
}
}
},
"PropertyLabel": {
"description": "A label in a specific language",
"headers": {
"Last-Modified": {
"description": "Last modified date",
"schema": { "type": "string" }
},
"ETag": {
"description": "Last entity revision number",
"schema": { "type": "string" }
},
"X-Authenticated-User": {
"description": "Optional username of the user making the request",
"schema": { "type": "string" }
}
},
"content": {
"application/json": {
"schema": { "type": "string" },
"example": "instance of"
}
}
},
"LabelDeleted": {
"description": "The resource was deleted",
"headers": {
"Content-Language": {
"description": "Language code of the language in which response is provided",
"schema": { "type": "string" }
}
},
"content": {
"application/json": {
"schema": { "type": "string" },
"example": "Label deleted"
}
}
}
}