Skip to content
Open
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
4 changes: 2 additions & 2 deletions doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -31445,7 +31445,7 @@
]
},
"project_ids": {
"description": "List of project IDs to associate with the automation.\nCurrently, only the first ID in the array is used.\nThe array format leaves room for future support of multiple projects.\n",
"description": "List of project IDs to associate with the automation.\nProviding more than one project ID requires the `advanced_job_automation`\nplan feature; accounts without this feature receive a 422 response with\nerror field `project_ids`.\n",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -31674,7 +31674,7 @@
]
},
"project_ids": {
"description": "List of project IDs to associate with the automation.\nCurrently, only the first ID in the array is used.\nThe array format leaves room for future support of multiple projects.\n",
"description": "List of project IDs to associate with the automation.\nProviding more than one project ID requires the `advanced_job_automation`\nplan feature; accounts without this feature receive a 422 response with\nerror field `project_ids`.\n",
"type": "array",
"items": {
"type": "string"
Expand Down
5 changes: 3 additions & 2 deletions paths/automations/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ requestBody:
project_ids:
description: |
List of project IDs to associate with the automation.
Currently, only the first ID in the array is used.
The array format leaves room for future support of multiple projects.
Providing more than one project ID requires the `advanced_job_automation`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

as this same parameter is duplicated in 2 endpoints, it could be extracted and referenced in schemas see

"$ref": "../../schemas/custom_metadata_data_type.yaml#/data_type"
for example

plan feature; accounts without this feature receive a 422 response with
error field `project_ids`.
type: array
items:
type: string
Expand Down
5 changes: 3 additions & 2 deletions paths/automations/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ requestBody:
project_ids:
description: |
List of project IDs to associate with the automation.
Currently, only the first ID in the array is used.
The array format leaves room for future support of multiple projects.
Providing more than one project ID requires the `advanced_job_automation`
plan feature; accounts without this feature receive a 422 response with
error field `project_ids`.
type: array
items:
type: string
Expand Down
Loading