Properties
| Name | Type | Description |
|---|---|---|
| operation | string | The restriction operation applied to content. |
| restrictions | object | The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AddContentRestriction",
"title": "AddContentRestriction",
"required": [
"operation",
"restrictions"
],
"type": "object",
"properties": {
"operation": {
"type": "string",
"description": "The restriction operation applied to content.",
"enum": [
"read",
"update"
]
},
"restrictions": {
"type": "object",
"properties": {
"user": {
"type": "array",
"description": "The users that the restrictions will be applied to. This array must\nhave at least one item, otherwise it should be omitted.",
"items": {
"required": [
"accountId",
"type"
],
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Set to 'known'.",
"enum": [
"known",
"unknown",
"anonymous",
"user"
]
},
"username": {
"$ref": "#/components/schemas/GenericUserName"
},
"userKey": {
"$ref": "#/components/schemas/GenericUserKey"
},
"accountId": {
"$ref": "#/components/schemas/GenericAccountId"
}
},
"description": "A user that the restriction will be applied to. Either the `username`\nor the `userKey` must be specified to identify the user."
}
},
"group": {
"type": "array",
"description": "The groups that the restrictions will be applied to. This array must\nhave at least one item, otherwise it should be omitted.",
"items": {
"required": [
"name",
"type"
],
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Set to 'group'.",
"enum": [
"group"
]
},
"name": {
"type": "string",
"description": "The name of the group."
}
},
"description": "A group that the restriction will be applied to."
}
}
},
"description": "The users/groups that the restrictions will be applied to. At least one of\n`user` or `group` must be specified for this object."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/atlassian-addcontentrestriction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.