Skip to content

Commit 7faf78a

Browse files
committed
chagne styling and adjust formating
change styling of the component adjust formatting within storage directory remove all heading anchors
1 parent a633d48 commit 7faf78a

File tree

5 files changed

+40
-46
lines changed

5 files changed

+40
-46
lines changed

sources/platform/storage/dataset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ By default, the whole result is wrapped in an `<items/>` element, while each pag
384384

385385
You can grant [access rights](../collaboration/index.md) to your dataset through the **Share** button under the **Actions** menu. For more details, check the [full list of permissions](../collaboration/list_of_permissions.md).
386386

387-
### Sharing datasets between runs {#sharing-datasets-between-runs}
387+
### Sharing datasets between runs
388388

389389
You can access a dataset from any [Actor](../actors/index.mdx) or [task](../actors/running/tasks.md) run as long as you know its _name_ or _ID_.
390390

@@ -450,7 +450,7 @@ See the [Storage overview](/platform/storage/usage#sharing-storages-between-runs
450450

451451
- The maximum length for dataset names is 63 characters.
452452

453-
### Rate limiting {#rate-limiting}
453+
### Rate limiting
454454

455455
The rate limit for pushing data to a dataset through the [API](/api/v2/dataset-items-post) is capped at _200 requests per second_ for each dataset, a measure to prevent overloading Apify servers.
456456

sources/platform/storage/index.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ import StoragePricingCalculator from "@site/src/components/StoragePricingCalcula
1717
The Apify platform provides three types of storage accessible both within our [Apify Console](https://console.apify.com/storage) and externally through our [REST API](/api/v2) [Apify API Clients](/api) or [SDKs](/sdk).
1818

1919

20-
## Pricing calculator
21-
22-
Use the calculator to estimate storage costs by plan and storage type. Results are estimates.
23-
24-
See estimates with the [pricing calculator](./usage#pricing-calculator).
25-
2620
<CardGrid>
2721
<Card
2822
title="Dataset"

sources/platform/storage/request_queue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ A detailed tutorial on how to process one request queue with multiple Actor runs
558558
559559
You can grant [access rights](../collaboration/index.md) to your request queue through the **Share** button under the **Actions** menu. For more details check the [full list of permissions](../collaboration/list_of_permissions.md).
560560
561-
### Sharing request queues between runs {#sharing-request-queues-between-runs}
561+
### Sharing request queues between runs
562562
563563
You can access a request queue from any [Actor](../actors/index.mdx) or [task](../actors/running/tasks.md) run as long as you know its _name_ or _ID_.
564564
@@ -620,7 +620,7 @@ Check out the [Storage overview](/platform/storage/usage#sharing-storages-betwee
620620
621621
- The maximum length for request queue name is 63 characters.
622622
623-
### Rate limiting {#rate-limiting}
623+
### Rate limiting
624624
625625
When managing request queues via [API](/api/v2/storage-request-queues-requests),
626626
CRUD ([add](/api/v2/request-queue-requests-post),

sources/platform/storage/usage.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,41 +12,26 @@ import StoragePricingCalculator from "@site/src/components/StoragePricingCalcula
1212

1313
---
1414

15-
## Pricing calculator
16-
17-
Use the calculator to estimate storage costs by plan and storage type. Results are estimates.
18-
19-
<details>
20-
<summary>Estimate your storage costs</summary>
21-
22-
1. Select a storage type.
23-
1. Choose a plan.
24-
1. Enter storage, duration, and operation counts.
25-
1. Review the estimated total and breakdown.
26-
27-
<StoragePricingCalculator />
28-
</details>
29-
30-
## Dataset {#dataset}
15+
## Dataset
3116

3217
[Dataset](./dataset.md) storage allows you to store a series of data objects, such as results from web scraping, crawling, or data processing jobs. You can export your datasets in JSON, CSV, XML, RSS, Excel, or HTML formats.
3318

3419
![Dataset graphic](../images/datasets-overview.png)
3520

36-
## Key-value store {#key-value-store}
21+
## Key-value store
3722

3823
The [key-value store](./key_value_store.md) is ideal for saving data records such as files, screenshots of web pages, and PDFs or for persisting your Actor's state. The records are accessible under a unique name and can be written and read quickly.
3924

4025
![Key-value store graphic](../images/key-value-overview.svg)
4126

4227

43-
## Request queue {#request-queue}
28+
## Request queue
4429

4530
[Request queues](./request_queue.md) allow you to dynamically maintain a queue of URLs of web pages. You can use this when recursively crawling websites: you start from initial URLs and add new links as they are found while skipping duplicates.
4631

4732
![Request queue graphic](../images/request-queue-overview.svg)
4833

49-
## Basic usage {#basic-usage}
34+
## Basic usage
5035

5136
You can access your storage in several ways:
5237

@@ -55,7 +40,7 @@ You can access your storage in several ways:
5540
* [API clients](/api) - to access your storages from any Node.js/Python application.
5641
* [Apify SDKs](/sdk) - when building your own JavaScript/Python Actor.
5742

58-
### Apify Console {#apify-console}
43+
### Apify Console
5944

6045
To access your storages via Apify Console, navigate to the [**Storage**](https://console.apify.com/storage) section in the left-side menu. From there, you can click through the tabs to view your key-value stores, datasets, and request queues, and you can click on the **API** button in the top right corner to view related API endpoints. To view a storage, click its **ID**.
6146

@@ -76,7 +61,7 @@ These URLs link to API _endpoints_—the places where your data is stored. Endpo
7661
> Never share a URL containing your authentication token, to avoid compromising your account's security. <br/>
7762
> If the data you want to share requires a token, first download the data, then share it as a file.
7863
79-
### Apify API {#apify-api}
64+
### Apify API
8065

8166
The [Apify API](/api/v2/storage-key-value-stores) allows you to access your storages programmatically using [HTTP requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) and easily share your crawling results.
8267

@@ -105,7 +90,22 @@ The Apify SDKs are libraries in JavaScript or Python that provide tools for buil
10590
* JavaScript SDK requires [Node.js](https://nodejs.org/en/) 16 or later.
10691
* Python SDK requires [Python](https://www.python.org/downloads/release/python-380/) 3.8 or above.
10792

108-
## Rate limiting {#rate-limiting}
93+
## Pricing calculator
94+
95+
Use the calculator to estimate storage costs by plan and storage type. Results are estimates.
96+
97+
<details>
98+
<summary>Estimate your storage costs</summary>
99+
100+
1. Select a storage type.
101+
1. Choose a plan.
102+
1. Enter storage, duration, and operation counts.
103+
1. Review the estimated total and breakdown.
104+
105+
<StoragePricingCalculator />
106+
</details>
107+
108+
## Rate limiting
109109

110110
All API endpoints limit their rate of requests to protect Apify servers from overloading. The default rate limit for storage objects is _30 requests per second_. However, there are exceptions limited to _200 requests per second_ per storage object, including:
111111

@@ -129,11 +129,11 @@ If a client exceeds this limit, the API endpoints respond with the HTTP status c
129129

130130
Go to the [API documentation](/api/v2#rate-limiting) for details and to learn what to do if you exceed the rate limit.
131131

132-
## Data retention {#data-retention}
132+
## Data retention
133133

134134
Apify securely stores your ten most recent runs indefinitely, ensuring your records are always accessible. Unnamed datasets and runs beyond the latest ten will be automatically deleted after 7 days unless otherwise specified. Named datasets are retained indefinitely.
135135

136-
### Preserving your storages {#preserving-storages}
136+
### Preserving your storages
137137

138138
To ensure indefinite retention of your storages, assign them a name. This can be done via Apify Console or through our API. First, you'll need your store's ID. You can find it in the details of the run that created it. In Apify Console, head over to your run's details and select the **Dataset**, **Key-value store**, or **Request queue** tab as appropriate. Check that store's details, and you will find its ID among them.
139139

@@ -148,7 +148,7 @@ Our SDKs and clients each have unique naming conventions for storages. For more
148148
* [SDKs](/sdk)
149149
* [API Clients](/api)
150150

151-
## Named and unnamed storages {#named-and-unnamed-storages}
151+
## Named and unnamed storages
152152

153153
The default storages for an Actor run are unnamed, identified only by an _ID_. This allows them to expire after 7 days (or longer on paid plans) conserving your storage space. If you want to preserve a storage, [assign it a name](#preserving-storages), and it will be retained indefinitely.
154154

@@ -158,11 +158,11 @@ Named and unnamed storages are identical in all aspects except for their retenti
158158

159159
For example, storage names `janedoe~my-storage-1` and `janedoe~web-scrape-results` are easier to tell apart than the alphanumerical IDs `cAbcYOfuXemTPwnIB` and `CAbcsuZbp7JHzkw1B`.
160160

161-
## Sharing {#sharing}
161+
## Sharing
162162

163163
You can grant [access rights](../collaboration/index.md) to others Apify users to view or modify your storages. Check the [full list of permissions](../collaboration/list_of_permissions.md).
164164

165-
### Sharing storages between runs {#sharing-storages-between-runs}
165+
### Sharing storages between runs
166166

167167
Storage can be accessed from any [Actor](../actors/index.mdx) or [task](../actors/running/tasks.md) run, provided you have its _name_ or _ID_. You can access and manage storages from other runs using the same methods or endpoints as with storages from your current run.
168168

@@ -173,7 +173,7 @@ Storage can be accessed from any [Actor](../actors/index.mdx) or [task](../actor
173173
> When multiple runs try to write data to a storage simultaneously, the order of data writing cannot be controlled. Data is written as each request is processed. <br/>
174174
> Similar principle applies in key-value stores and request queues, when a delete request for a record precedes a read request for the same record, the read request will fail.
175175
176-
## Deleting storages {#deleting-storages}
176+
## Deleting storages
177177

178178
Named storages are only removed upon your request.<br/>
179179
You can delete storages in the following ways:

src/components/StoragePricingCalculator/StoragePricingCalculator.module.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.calculator {
2-
border: 1px solid #b3b8d2;
2+
border: 1px solid var(--color-neutral-border, #b3b8d2);
33
border-radius: 0.5rem;
44
padding: 1.5rem;
55
margin: 2rem 0;
@@ -8,7 +8,7 @@
88
}
99

1010
.dark {
11-
border-color: #4a5568;
11+
border-color: var(--color-neutral-field-border, #4a5568);
1212
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
1313
}
1414

@@ -69,7 +69,7 @@
6969
align-items: flex-start;
7070
gap: 0.75rem;
7171
padding: 1rem;
72-
border: 1px solid #e2e8f0;
72+
border: 1px solid var(--color-neutral-border, #e2e8f0);
7373
border-radius: 0.375rem;
7474
cursor: pointer;
7575
transition: all 0.2s ease;
@@ -79,7 +79,7 @@
7979
}
8080

8181
.dark .radioOption {
82-
border-color: #4a5568;
82+
border-color: var(--color-neutral-field-border, #4a5568);
8383
}
8484

8585
.radioOption:hover {
@@ -131,7 +131,7 @@
131131

132132
.inputGroup input {
133133
padding: 0.75rem;
134-
border: 1px solid #e2e8f0;
134+
border: 1px solid var(--color-neutral-border, #e2e8f0);
135135
border-radius: 0.375rem;
136136
font-size: 1.2rem;
137137
background-color: var(--ifm-background-color);
@@ -140,7 +140,7 @@
140140
}
141141

142142
.dark .inputGroup input {
143-
border-color: #4a5568;
143+
border-color: var(--color-neutral-field-border, #4a5568);
144144
}
145145

146146
.inputGroup input:focus {
@@ -164,7 +164,7 @@
164164

165165
.inputGroupFullWidth input {
166166
padding: 0.75rem;
167-
border: 1px solid #e2e8f0;
167+
border: 1px solid var(--color-neutral-border, #e2e8f0);
168168
border-radius: 0.375rem;
169169
font-size: 1.2rem;
170170
background-color: var(--ifm-background-color);
@@ -173,7 +173,7 @@
173173
}
174174

175175
.dark .inputGroupFullWidth input {
176-
border-color: #4a5568;
176+
border-color: var(--color-neutral-field-border, #4a5568);
177177
}
178178

179179
.inputGroupFullWidth input:focus {

0 commit comments

Comments
 (0)