|
6592 | 6592 | "properties": { |
6593 | 6593 | "access_token": { |
6594 | 6594 | "type": "string", |
6595 | | - "description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>", |
| 6595 | + "description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>", |
6596 | 6596 | "name": "access_token", |
6597 | 6597 | "in": "body", |
6598 | 6598 | "rawType": "string", |
6599 | 6599 | "rawDescription": "The OAuth access token used to authenticate to the GitHub API.", |
6600 | 6600 | "childParamsGroups": [] |
6601 | 6601 | } |
6602 | | - } |
| 6602 | + }, |
| 6603 | + "required": [ |
| 6604 | + "access_token" |
| 6605 | + ] |
6603 | 6606 | }, |
6604 | 6607 | "example": { |
6605 | 6608 | "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" |
|
6636 | 6639 | "bodyParameters": [ |
6637 | 6640 | { |
6638 | 6641 | "type": "string", |
6639 | | - "description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>", |
| 6642 | + "description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>", |
6640 | 6643 | "name": "access_token", |
6641 | 6644 | "in": "body", |
6642 | 6645 | "rawType": "string", |
|
6691 | 6694 | "properties": { |
6692 | 6695 | "access_token": { |
6693 | 6696 | "type": "string", |
6694 | | - "description": "<p><strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>", |
| 6697 | + "description": "<p><strong>Required</strong>. <strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>", |
6695 | 6698 | "example": "e72e16c7e42f292c6912e7710c838347ae178b4a", |
6696 | 6699 | "name": "access_token", |
6697 | 6700 | "in": "body", |
|
7551 | 7554 | } |
7552 | 7555 | ] |
7553 | 7556 | } |
7554 | | - } |
| 7557 | + }, |
| 7558 | + "required": [ |
| 7559 | + "access_token" |
| 7560 | + ] |
7555 | 7561 | } |
7556 | 7562 | } |
7557 | 7563 | } |
|
7601 | 7607 | "bodyParameters": [ |
7602 | 7608 | { |
7603 | 7609 | "type": "string", |
7604 | | - "description": "<p><strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>", |
| 7610 | + "description": "<p><strong>Required</strong>. <strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>", |
7605 | 7611 | "example": "e72e16c7e42f292c6912e7710c838347ae178b4a", |
7606 | 7612 | "name": "access_token", |
7607 | 7613 | "in": "body", |
|
19946 | 19952 | "encrypted_value": { |
19947 | 19953 | "type": "string", |
19948 | 19954 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>", |
| 19955 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
19949 | 19956 | "name": "encrypted_value", |
19950 | 19957 | "in": "body", |
19951 | 19958 | "rawType": "string", |
|
19990 | 19997 | } |
19991 | 19998 | }, |
19992 | 19999 | "example": { |
19993 | | - "encrypted_value": "****************************************************************************************", |
| 20000 | + "encrypted_value": "c2VjcmV0", |
19994 | 20001 | "key_id": "012345678912345678", |
19995 | 20002 | "visibility": "selected", |
19996 | 20003 | "selected_repository_ids": [ |
|
20031 | 20038 | { |
20032 | 20039 | "type": "string", |
20033 | 20040 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>", |
| 20041 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
20034 | 20042 | "name": "encrypted_value", |
20035 | 20043 | "in": "body", |
20036 | 20044 | "rawType": "string", |
|
33979 | 33987 | "encrypted_value": { |
33980 | 33988 | "type": "string", |
33981 | 33989 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>", |
| 33990 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
33982 | 33991 | "name": "encrypted_value", |
33983 | 33992 | "in": "body", |
33984 | 33993 | "rawType": "string", |
|
33997 | 34006 | } |
33998 | 34007 | }, |
33999 | 34008 | "example": { |
34000 | | - "encrypted_value": "****************************************************************************************", |
| 34009 | + "encrypted_value": "c2VjcmV0", |
34001 | 34010 | "key_id": "012345678912345678" |
34002 | 34011 | } |
34003 | 34012 | } |
|
34033 | 34042 | { |
34034 | 34043 | "type": "string", |
34035 | 34044 | "description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>", |
| 34045 | + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", |
34036 | 34046 | "name": "encrypted_value", |
34037 | 34047 | "in": "body", |
34038 | 34048 | "rawType": "string", |
|
0 commit comments