You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description
- Add undocumented, but public API endpoints related to kvs:
- Actor run default kvs
- last Actor run default kvs
- Abstract reusable parts of nearly duplicate endpoints and use
references.
- Create subgroups in `Convenience endpoints`, to avoid cluttering the
documentation.
(More undocumented endpoints will be added in follow-up PRs)
### Issues
Partially implements: #2286
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,8 @@ Add code samples by creating files in `apify-api/openapi/code_samples/{javascrip
59
59
- Request parameters and path parameters defined in `/openapi/components/parameters`
60
60
- Request/response schemas defined in `/openapi/components/schemas`
61
61
- Explicit non-automatic examples defined in `/openapi/components/examples`
62
+
- Objects that are not standardized in the OpenAPI specification defined in `/openapi/components/objects`
63
+
- Objects that exist in several variants with only minor differences across different files can be extracted into file in `/openapi/components/objects`. Within one file the YAML anchor syntax can be used to define a shared and unique portion of such objects and avoid some code duplication. These objects will be used only during bundling process through references, but they will not be standalone entities in the generated specification.
62
64
- When changing files in `/openapi/paths` look for opportunities to extract shared duplicate objects into re-usable components saved in `/openapi/components`.
63
65
- When adding new endpoints, check first if any existing path is similar and if yes, try to re-use same components. If by adding new paths you create new duplication, try to extract it into a new components and reference it instead.
64
66
- Prefer automatically generated examples from schema over explicit examples.
**IMPORTANT:** The limit of request payload size for the dataset is 5 MB. If the array exceeds the size, you'll need to split it into a number of smaller arrays.
0 commit comments