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
2 changes: 2 additions & 0 deletions apify-api/openapi/components/schemas/actors/Actor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ properties:
isPublic:
type: boolean
example: false
actorPermissionLevel:
$ref: ./ActorPermissionLevel.yaml
createdAt:
type: string
example: '2019-07-08T11:27:57.401Z'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type: string
description: >
Determines permissions that the Actor requires to run.
For more information, see the [Actor permissions documentation](https://docs.apify.com/platform/actors/development/permissions).
enum:
- LIMITED_PERMISSIONS
- FULL_PERMISSIONS
example: LIMITED_PERMISSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ properties:
isPublic:
type: boolean
example: false
actorPermissionLevel:
nullable: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a description field with a simple text description (to both locations)? A few words and a link to docs would suffice really :)

$ref: ./ActorPermissionLevel.yaml
seoTitle:
type: string
nullable: true
Expand Down Expand Up @@ -102,4 +105,3 @@ required:
- name
- isPublic
- versions

2 changes: 2 additions & 0 deletions apify-api/openapi/paths/actors/acts@{actorId}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ put:
name: MyActor
description: My favourite Actor!
isPublic: false
actorPermissionLevel: 'LIMITED_PERMISSIONS'
seoTitle: My Actor
seoDescription: My Actor is the best
title: My Actor
Expand Down Expand Up @@ -197,6 +198,7 @@ put:
username: jane35
description: My favourite Actor!
isPublic: false
actorPermissionLevel: 'LIMITED_PERMISSIONS'
createdAt: '2019-07-08T11:27:57.401Z'
modifiedAt: '2019-07-08T14:01:05.546Z'
stats:
Expand Down
Loading