Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ properties:
anyOf:
- $ref: ./TaskInput.yaml
- type: "null"
title:
type: [string, "null"]
actorStandby:
anyOf:
- $ref: ../actors/ActorStandby.yaml
- type: "null"
6 changes: 6 additions & 0 deletions apify-api/openapi/components/schemas/actor-tasks/Task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ properties:
anyOf:
- $ref: ./TaskInput.yaml
- type: "null"
title:
type: [string, "null"]
actorStandby:
anyOf:
- $ref: ../actors/ActorStandby.yaml
- type: "null"
standbyUrl:
type: [string, "null"]
format: uri
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ properties:
restartOnError:
type: [boolean, "null"]
examples: [false]
maxItems:
type: [integer, "null"]
Original file line number Diff line number Diff line change
@@ -1,43 +1,9 @@
title: UpdateTaskRequest
required:
- id
- userId
- actId
- name
- createdAt
- modifiedAt
type: object
properties:
id:
type: string
examples: [ZxLNxrRaZrSjuhT9y]
userId:
type: string
examples: [BPWZBd7Z9c746JAnF]
actId:
type: string
examples: [asADASadYvn4mBZmm]
name:
type: string
examples: [my-task]
username:
type: [string, "null"]
examples: [janedoe]
createdAt:
type: string
format: date-time
examples: ["2018-10-26T07:23:14.855Z"]
modifiedAt:
type: string
format: date-time
examples: ["2018-10-26T13:30:49.578Z"]
removedAt:
type: [string, "null"]
format: date-time
stats:
anyOf:
- $ref: ./TaskStats.yaml
- type: "null"
options:
anyOf:
- $ref: ./TaskOptions.yaml
Expand All @@ -46,3 +12,9 @@ properties:
anyOf:
- $ref: ./TaskInput.yaml
- type: "null"
title:
type: [string, "null"]
actorStandby:
anyOf:
- $ref: ../actors/ActorStandby.yaml
- type: "null"
4 changes: 4 additions & 0 deletions apify-api/openapi/components/schemas/actors/Actor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ properties:
anyOf:
- $ref: ./TaggedBuilds.yaml
- type: "null"
actorStandby:
anyOf:
- $ref: ./ActorStandby.yaml
- type: "null"
readmeSummary:
type: string
description: A brief, LLM-generated readme summary
19 changes: 19 additions & 0 deletions apify-api/openapi/components/schemas/actors/ActorStandby.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
title: ActorStandby
type: object
properties:
isEnabled:
type: [boolean, "null"]
desiredRequestsPerActorRun:
type: [integer, "null"]
maxRequestsPerActorRun:
type: [integer, "null"]
idleTimeoutSecs:
type: [integer, "null"]
build:
type: [string, "null"]
memoryMbytes:
type: [integer, "null"]
disableStandbyFieldsOverride:
type: [boolean, "null"]
shouldPassActorInput:
type: [boolean, "null"]
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ properties:
description: ""
defaultRunOptions:
$ref: ./DefaultRunOptions.yaml
actorStandby:
anyOf:
- $ref: ./ActorStandby.yaml
- type: "null"
exampleRunInput:
anyOf:
- $ref: ./ExampleRunInput.yaml
- type: "null"
isDeprecated:
type: [boolean, "null"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
title: defaultRunOptions
required:
- build
- memoryMbytes
type: object
properties:
build:
Expand All @@ -16,3 +13,9 @@ properties:
restartOnError:
type: boolean
examples: [false]
maxItems:
type: [integer, "null"]
forcePermissionLevel:
anyOf:
- $ref: ./ActorPermissionLevel.yaml
- type: "null"
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
title: exampleRunInput
required:
- body
- contentType
type: object
properties:
body:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,13 @@ properties:
latest:
buildId: z2EryhbfhgSyqj6Hn
beta: null
required:
- name
- isPublic
- versions
actorStandby:
anyOf:
- $ref: ./ActorStandby.yaml
- type: "null"
exampleRunInput:
anyOf:
- $ref: ./ExampleRunInput.yaml
- type: "null"
isDeprecated:
type: [boolean, "null"]
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ properties:
type: [string, "null"]
format: date-time
examples: ["2019-04-12T07:33:10.202Z"]
title:
type: [string, "null"]
actions:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ properties:
description:
type: [string, "null"]
examples: [Schedule of actor ...]
title:
type: [string, "null"]
actions:
type: [array, "null"]
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,7 @@ put:
schema:
$ref: ../../components/schemas/actor-tasks/UpdateTaskRequest.yaml
example:
id: ZxLNxrRaZrSjuhT9y
userId: BPWZBd7Z9c746JAnF
actId: asADASadYvn4mBZmm
name: my-task
username: janedoe
createdAt: "2018-10-26T07:23:14.855Z"
modifiedAt: "2018-10-26T13:30:49.578Z"
removedAt: null
stats:
totalRuns: 15
options:
build: latest
timeoutSecs: 300
Expand Down