File tree Expand file tree Collapse file tree 2 files changed +62
-8
lines changed
Expand file tree Collapse file tree 2 files changed +62
-8
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ definition of an alias. Requires `UPDATE` permission for the alias as well as fo
1313- Fixed error messaging when using a nonce and the API endpoint+HTTP verb combination do not exist.
1414- The admin role is now recognized when checking access to certain objects in some edge cases, including when a nonce is used.
1515
16-
1716### Removed
1817- It is no longer possible to create an alias nonce for permission levels UPDATE.
1918
Original file line number Diff line number Diff line change @@ -109,6 +109,36 @@ paths:
109109 properties :
110110 result :
111111 $ref : ' #/components/schemas/Actor'
112+ put :
113+ tags :
114+ - Actors
115+ summary : Update an actor
116+ description : Update an actor's definition.
117+ operationId : updateActor
118+ parameters :
119+ - name : actor_id
120+ in : path
121+ description : Unique ID of the actor
122+ required : true
123+ schema :
124+ type : string
125+ requestBody :
126+ required : true
127+ content :
128+ application/json :
129+ schema :
130+ $ref : ' #/components/schemas/NewActor'
131+ responses :
132+ 200 :
133+ description : OK
134+ content :
135+ application/json :
136+ schema :
137+ allOf :
138+ - $ref : ' #/components/schemas/BasicResponse'
139+ properties :
140+ result :
141+ $ref : ' #/components/schemas/Actor'
112142 delete :
113143 tags :
114144 - Actors
@@ -745,6 +775,37 @@ paths:
745775 properties :
746776 result :
747777 $ref : ' #/components/schemas/Alias'
778+ put :
779+ tags :
780+ - Actors
781+ - Aliases
782+ summary : Update an actor alias
783+ description : Update an alias definition.
784+ operationId : updateActorAlias
785+ parameters :
786+ - name : alias
787+ in : path
788+ description : Unique alias of the actor
789+ required : true
790+ schema :
791+ type : string
792+ requestBody :
793+ required : true
794+ content :
795+ application/json :
796+ schema :
797+ $ref : ' #/components/schemas/NewAlias'
798+ responses :
799+ 200 :
800+ description : OK
801+ content :
802+ application/json :
803+ schema :
804+ allOf :
805+ - $ref : ' #/components/schemas/BasicResponse'
806+ properties :
807+ result :
808+ $ref : ' #/components/schemas/Alias'
748809 delete :
749810 tags :
750811 - Actors
@@ -1181,10 +1242,4 @@ components:
11811242 type : array
11821243 items :
11831244 type : string
1184- description : The roles associated with the nonce.
1185-
1186-
1187-
1188-
1189-
1190-
1245+ description : The roles associated with the nonce.
You can’t perform that action at this time.
0 commit comments