Skip to content

Commit 42c9af3

Browse files
authored
fix: Output schema (fix copy-paste mistakes) (#2034)
fix: Output schema (fix copy-paste mistakes) and ~~containerUrl to containerRunUrl (I guess it is the correct variable)~~ Edit: Replace: `lnkis.containerRunUrl` with `run.containerUrl` close: #2033
1 parent 687ca72 commit 42c9af3

File tree

1 file changed

+4
-4
lines changed
  • sources/platform/actors/development/actor_definition/output_schema

1 file changed

+4
-4
lines changed

sources/platform/actors/development/actor_definition/output_schema/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You can organize the files using one of these structures:
5656

5757
## Definitions
5858

59-
The key-value store schema defines the collections of keys and their properties. It allows you to organize and validate data stored by the Actor, making it easier to manage and retrieve specific records.
59+
The output schema defines the collections of keys and their properties. It allows you to organize and validate data stored by the Actor, making it easier to manage and retrieve specific records.
6060

6161
### Output schema object definition
6262

@@ -85,8 +85,8 @@ The key-value store schema defines the collections of keys and their properties.
8585
| `links.apiRunUrl` | string | API run url in format `https://api.apify.com/v2/actor-runs/:runId` |
8686
| `links.apiDefaultDatasetUrl` | string | API url of default dataset in format `https://api.apify.com/v2/datasets/:defaultDatasetId` |
8787
| `links.apiDefaultKeyValueStoreUrl` | string | API url of default key-value store in format `https://api.apify.com/v2/key-value-stores/:defaultKeyValueStoreId` |
88-
| `links.containerRunUrl` | string | URL of a webserver running inside the run in format `https://<containerId>.runs.apify.net/` |
8988
| `run` | object | Contains information about the run same as it is returned from the `GET Run` API endpoint |
89+
| `run.containerUrl` | string | URL of a webserver running inside the run in format `https://<containerId>.runs.apify.net/` |
9090
| `run.defaultDatasetId` | string | ID of the default dataset |
9191
| `run.defaultKeyValueStoreId` | string | ID of the default key-value store |
9292

@@ -139,7 +139,7 @@ Then to specify that output is stored in the default dataset, create `.actor/out
139139
}
140140
```
141141

142-
To show, that the output is stored in the default key-value store, the schema defines a property called `results`.
142+
To show that the output is stored in the default dataset, the schema defines a property called `results`.
143143

144144
The `title` is a human-readable name for the output, shown in the Apify Console.
145145

@@ -206,7 +206,7 @@ Then to specify that output is stored in the key-value store, update `.actor/out
206206
}
207207
```
208208

209-
To show, that the output is stored in the default key-value store, the schema defines a property called `files`.
209+
To show that the output is stored in the default key-value store, the schema defines a property called `files`.
210210

211211
The `template` uses a variable `{{links.apiDefaultKeyValueStoreUrl}}`, which is replaced with the URL of the default key-value store API endpoints when the Actor run finishes.
212212

0 commit comments

Comments
 (0)