-
Notifications
You must be signed in to change notification settings - Fork 141
docs: add new signed URL fields to dataset & key-value store #1767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,5 +69,11 @@ properties: | |
| consoleUrl: | ||
| type: string | ||
| example: 'https://console.apify.com/storage/datasets/27TmTznX9YPeAYhkC' | ||
| itemsPublicUrl: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the place where we actually explain to the users what it is? 😄 The overall documentation for he general access feature is on me, so we will definitely have a proper page for it in the docs. But I think it'd still be good practice to explain what these fields do directly on the API? I guess we can do it later and just add links...
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point, I added descriptions. Can you, please, check if it makes sense to you? |
||
| type: string | ||
| example: 'https://api.apify.com/v2/datasets/WkzbQMuFYuamGv3YF/items?signature=abc123' | ||
| urlSigningSecretKey: | ||
| type: string | ||
| nullable: true | ||
| stats: | ||
| $ref: ./DatasetStats.yaml | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to complain about the naming only this late, but the
itemsPublicUrlsounds wrong, the adjectives are in a wrong order. It sounds like "red big ball" instead of "big red ball". How about calling thispublicItemsUrl? Same withkeysPublicUrl->publicKeysUrl.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I'm not sure now. I wouldn't know if
publicItemsUrlis "public URL of items", or "URL of public items". But I still think it's slightly better.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like we need to train a model, which will help us with naming 😅
attaching convesation that we already had in previous PR - apify/apify-client-js#720 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that conversation captures it pretty well, nothing to add 😄
I understand the awkwardness, but this is the best we can do and there is logical coherence to it. Once you get used to it, you'll love it 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I guess this is the best option after all 🙂