OpenAPI-PerlGenerator
view release on metacpan or search on metacpan
t/jira/jira.json view on Meta::CPAN
},
"description": "The request object with the user that the issue is assigned to.",
"required": true
},
"responses": {
"204": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Returned if the request is successful."
},
"400": {
"description": "Returned if:\n\n * the user is not found.\n * `name`, `key`, or `accountId` is missing.\n * more than one of `name`, `key`, and `accountId` are provided."
},
"403": {
"description": "Returned if the user does not have the necessary permission."
},
"404": {
"description": "Returned if the issue is not found."
}
},
"security": [
{
"basicAuth": []
},
{
"OAuth2": [
"write:jira-work"
]
},
{}
],
"summary": "Assign issue",
"tags": [
"Issues"
],
"x-atlassian-connect-scope": "WRITE",
"x-atlassian-oauth2-scopes": [
{
"scheme": "OAuth2",
"scopes": [
"write:jira-work"
],
"state": "Current"
},
{
"scheme": "OAuth2",
"scopes": [
"write:issue:jira"
],
"state": "Beta"
}
]
}
},
"/rest/api/3/issue/{issueIdOrKey}/attachments": {
"post": {
"deprecated": false,
"description": "Adds one or more attachments to an issue. Attachments are posted as multipart/form-data ([RFC 1867](https://www.ietf.org/rfc/rfc1867.txt)).\n\nNote that:\n\n * The request must have a `X-Atlassian-Token: no-check` header, if ...
"operationId": "addAttachment",
"parameters": [
{
"description": "The ID or key of the issue that attachments are added to.",
"in": "path",
"name": "issueIdOrKey",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"format": "binary",
"type": "string"
}
}
}
},
"responses": {
"200": {
"content": {
"application/json": {
"example": "[{\"self\":\"https://your-domain.atlassian.net/rest/api/3/attachments/10000\",\"id\":\"10001\",\"filename\":\"picture.jpg\",\"author\":{\"self\":\"https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165...
"schema": {
"items": {
"$ref": "#/components/schemas/Attachment"
},
"type": "array"
}
}
},
"description": "Returned if the request is successful."
},
"403": {
"description": "Returned if the user does not have the necessary permission."
},
"404": {
"description": "Returned if any of the following is true:\n\n * the issue is not found.\n * the user does not have permission to view the issue."
},
"413": {
"description": "The attachments exceed the maximum attachment size for issues. See [Configuring file attachments](https://confluence.atlassian.com/x/wIXKM) for details."
}
},
"security": [
{
"basicAuth": []
},
{
"OAuth2": [
"write:jira-work"
]
},
{}
],
"summary": "Add attachment",
"tags": [
( run in 0.498 second using v1.01-cache-2.11-cpan-df04353d9ac )