Skip to content

Commit 7ea39ee

Browse files
committed
fix: missing fields on dataset endpoint response
1 parent 05d1a23 commit 7ea39ee

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

apify-api/openapi/components/schemas/datasets/Dataset.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ properties:
4747
type: string
4848
description: ''
4949
nullable: true
50+
schema:
51+
type: object
52+
nullable: true
5053
consoleUrl:
5154
type: string
5255
example: 'https://console.apify.com/storage/datasets/27TmTznX9YPeAYhkC'
56+
stats:
57+
$ref: ./DatasetStats.yaml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
title: DatasetStats
2+
required:
3+
- readCount
4+
- writeCount
5+
- storageBytes
6+
type: object
7+
properties:
8+
readCount:
9+
type: number
10+
example: 22
11+
writeCount:
12+
type: number
13+
example: 3
14+
storageBytes:
15+
type: number
16+
example: 783

0 commit comments

Comments
 (0)