Skip to content

Commit 5fa2cfa

Browse files
committed
deprecation PoC
1 parent 6259df1 commit 5fa2cfa

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ get:
33
- Actors/Build object
44
summary: Get build
55
description: |
6-
**[DEPRECATED]** API endpoints related to build of the Actor were moved
7-
under new namespace [`actor-builds`](#/reference/actor-builds).Gets an object
8-
that contains all the details about a specific build of an Actor.
9-
10-
116
By passing the optional `waitForFinish` parameter the API endpoint will
127
synchronously wait for the build to finish.
138
@@ -89,7 +84,10 @@ get:
8984
inputSchema: '{\n \"title\": \"Schema for ... }'
9085
readme: '# Magic Actor\nThis Actor is magic.'
9186
buildNumber: 0.1.1
92-
deprecated: false
87+
deprecated: true
88+
x-deprecated-description: 'API endpoints related to build of the Actor were moved
89+
under new namespace [`actor-builds`](#/reference/actor-builds). Gets an object
90+
that contains all the details about a specific build of an Actor.'
9391
x-legacy-doc-urls:
9492
- https://docs.apify.com/api/v2#/reference/actors/build-object/get-build
9593
- https://docs.apify.com/api/v2#/reference/actors/get-build

apify-docs-theme/src/theme/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,12 @@ iframe[src*="youtube"] {
16761676
display: none !important;
16771677
}
16781678

1679+
.menu__list-item--deprecated > .menu__link,
1680+
.menu__list-item--deprecated > .menu__link:hover {
1681+
text-decoration: line-through;
1682+
text-decoration-thickness: 2px !important;
1683+
}
1684+
16791685
.api-method > .menu__link,
16801686
.schema > .menu__link {
16811687
align-items: center;

0 commit comments

Comments
 (0)