Skip to content

Commit 2170eff

Browse files
committed
add examples
1 parent 4d4f77f commit 2170eff

File tree

1 file changed

+47
-26
lines changed

1 file changed

+47
-26
lines changed

apify-api/openapi/paths/actors/acts@{actorId}.yaml

Lines changed: 47 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -133,32 +133,53 @@ put:
133133
application/json:
134134
schema:
135135
$ref: "../../components/schemas/actors/UpdateActorRequest.yaml"
136-
example:
137-
name: MyActor
138-
description: My favourite Actor!
139-
isPublic: false
140-
seoTitle: My Actor
141-
seoDescription: My Actor is the best
142-
title: My Actor
143-
restartOnError: false
144-
versions:
145-
- versionNumber: '0.0'
146-
sourceType: SOURCE_FILES
147-
envVars:
148-
- name: DOMAIN
149-
value: 'http://example.com'
150-
isSecret: false
151-
- name: SECRET_PASSWORD
152-
value: MyTopSecretPassword123
153-
isSecret: true
154-
applyEnvVarsToBuild: false
155-
buildTag: latest
156-
sourceFiles: []
157-
categories: []
158-
defaultRunOptions:
159-
build: latest
160-
timeoutSecs: 3600
161-
memoryMbytes: 2048
136+
examples:
137+
common:
138+
summary: 'Common example'
139+
value:
140+
name: MyActor
141+
description: My favourite Actor!
142+
isPublic: false
143+
seoTitle: My Actor
144+
seoDescription: My Actor is the best
145+
title: My Actor
146+
restartOnError: false
147+
versions:
148+
- versionNumber: '0.0'
149+
sourceType: SOURCE_FILES
150+
envVars:
151+
- name: DOMAIN
152+
value: 'http://example.com'
153+
isSecret: false
154+
- name: SECRET_PASSWORD
155+
value: MyTopSecretPassword123
156+
isSecret: true
157+
applyEnvVarsToBuild: false
158+
buildTag: latest
159+
sourceFiles: []
160+
categories: []
161+
defaultRunOptions:
162+
build: latest
163+
timeoutSecs: 3600
164+
memoryMbytes: 2048
165+
taggedBuildsCreateOrReassignTag:
166+
summary: 'Create or reassign a build tag'
167+
value:
168+
taggedBuilds:
169+
latest:
170+
buildId: 'z2EryhbfhgSyqj6Hn'
171+
taggedBuildsRemoveTag:
172+
summary: 'Remove a build tag'
173+
value:
174+
taggedBuilds:
175+
latest: null
176+
taggedBuildsMultipleOperations:
177+
summary: 'Update multiple build tags at once'
178+
value:
179+
taggedBuilds:
180+
latest:
181+
buildId: 'z2EryhbfhgSyqj6Hn'
182+
beta: null
162183
required: true
163184
responses:
164185
'200':

0 commit comments

Comments
 (0)