-
Notifications
You must be signed in to change notification settings - Fork 218
docs(openapi): Add missing descriptions to Get Actor endpoint #2841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
apify-api/openapi/components/parameters/runAndBuildParameters.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| title: ActorNotice | ||
| type: [string, "null"] | ||
| description: A warning displayed on the Actor's page in Apify Store and Console. | ||
| Can be set by the Actor's developer or automatically by Apify's quality checks. | ||
| enum: | ||
| - NONE | ||
| - RESIDENTIAL_PROXY_REQUIRED | ||
| - UNDER_MAINTENANCE | ||
| examples: [UNDER_MAINTENANCE] |
23 changes: 22 additions & 1 deletion
23
apify-api/openapi/components/schemas/actors/ActorStats.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,56 +1,77 @@ | ||
| title: ActorStats | ||
| type: object | ||
| description: Usage statistics and Apify Store metrics for the Actor. | ||
| properties: | ||
| totalBuilds: | ||
| type: integer | ||
| examples: [9] | ||
| description: The total number of builds of the Actor. | ||
| totalRuns: | ||
| type: integer | ||
| examples: [16] | ||
| description: The total number of runs of the Actor. | ||
| totalUsers: | ||
| type: integer | ||
| examples: [6] | ||
| description: The total number of Actor users, including its owner. | ||
| totalUsers7Days: | ||
| type: integer | ||
| examples: [2] | ||
| description: The number of active users of the Actor in the last 7 days. | ||
| totalUsers30Days: | ||
| type: integer | ||
| examples: [6] | ||
| description: The number of active users of the Actor in the last 30 days. | ||
| totalUsers90Days: | ||
| type: integer | ||
| examples: [6] | ||
| description: The number of active users of the Actor in the last 90 days. | ||
| totalMetamorphs: | ||
| type: integer | ||
| examples: [2] | ||
| description: The total number of times a run of another Actor was | ||
| [metamorphed](https://docs.apify.com/platform/actors/development/programming-interface/metamorph) | ||
| into this Actor. | ||
| lastRunStartedAt: | ||
| type: string | ||
| format: date-time | ||
| examples: ["2019-07-08T14:01:05.546Z"] | ||
| description: The date and time the most recent run of the Actor started. | ||
| actorReviewCount: | ||
| type: integer | ||
| examples: [69] | ||
| description: The number of reviews the Actor has received in Apify Store. | ||
| actorReviewRating: | ||
| type: number | ||
| examples: [4.7] | ||
| description: The average rating of the Actor in Apify Store. | ||
| bookmarkCount: | ||
| type: integer | ||
| examples: [1269] | ||
| description: The number of users who bookmarked the Actor in Apify Store. | ||
| publicActorRunStats30Days: | ||
| type: object | ||
| description: Run status counts over the past 30 days. | ||
| description: | | ||
| Run status counts from the last 30 days. Only for public Actors. | ||
| Excludes runs started by the Actor's owner. | ||
| properties: | ||
| ABORTED: | ||
| type: integer | ||
| examples: [2542] | ||
| description: The number of runs that were aborted. | ||
| FAILED: | ||
| type: integer | ||
| examples: [1234] | ||
| description: The number of runs that failed. | ||
| SUCCEEDED: | ||
| type: integer | ||
| examples: [732805] | ||
| description: The number of runs that succeeded. | ||
| "TIMED-OUT": | ||
| type: integer | ||
| examples: [12556] | ||
| description: The number of runs that timed out. | ||
| TOTAL: | ||
| type: integer | ||
| examples: [749137] | ||
| description: The total number of runs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: Is this correct? The description doesn't match the field name for me. Critical for what? ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the name threw me off as well 😅 But the explanation stands (for example, helpText)