#ahl_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1260265685561380986
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
"/v1/account": {
"get": {
"description": "<p>Retrieves the details of an account.</p>",
"operationId": "GetAccount",
"parameters": [
{
"description": "Specifies which fields in the response should be expanded.",
"explode": true,
"in": "query",
"name": "expand",
"required": false,
"schema": {
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"style": "deepObject"
}
],
hi! give me a sec to orient myself, haven't explored the OpenAPI spec deeply
let me know if you need a link; I have it handy
from the 3.0.3 spec https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#style-examples
(search deepObject)
also: thanks!
can you also explain what you mean by
I see the docs say to do
expand[]=foobut I'm not sure if that's some custom extension
not sure how to interpret the "custom extension" part
I'll find you a link
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
by "custom extension" I mean "this seems to be not part of the spec; is this just a way you've chosen to interpret deepObject when paired with an array schema"?