Discussions

Ask a Question

Updating API specification doesn't work

I am doing a PUT request, tried both with a JSON and YAML, I'm getting a 503 error. The tried specifications are valid. `curl -X PUT -T "openapi/spec301.json" -u "$README_KEY:" "https://dash.readme.com/api/v1/api-specification/$SPEC_ID"` Response: ```html html <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8"> <title>Application Error</title> <style media="screen"> html, body, iframe { margin: 0; padding: 0; } html, body { height: 100%; overflow: hidden; } iframe { width: 100%; height: 100%; border: 0; } </style> </head> <body> <iframe src="//readme.com/error"></iframe> </body> </html> ```
ANSWERED

Using prefilled example values in curl "Try It"

Hello, In the API Ref, your request params can be specified to have an example value, but the "Try It!" Curl/code request on the side does not have the body params prefilled unless you select in the dropdown. Is there a way to enable this? For example the path params get prefilled into the request, but not body. Hope this can be resolved, thank you!
ANSWERED

Error 1014 on CloudFlare

Hi, My name is seongjin at Bithumb Systems. I tried using custom domain, and got the error: Error 1014 Ray ID: 711488c05fbc12ea • 2022-05-26 06:43:01 UTC CNAME Cross-User Banned What should I check? Thanks

Slow loading endpoints

Hello there. I have the following issue.. L5 swagger openapi endpoints imported into readme via file load very slow. My question is does the file size matter, because when smaller sized file is imported every endpoint loads fast. And if the larger file is imported the endpoints load too slow? Thank you in advance !
ANSWERED

ELIMINAR CUENTA

Hola, como hago para eliminar definit la cuenta, no comprendo como funciona
ANSWERED

API Bearer Authentication

How to configure the API Reference section to show Bearer Token input field? Noting that I am not using OpenAPI, as I am building the reference section manually from the website (dash.readme) ![](https://files.readme.io/35723de-image.png)
ANSWERED

[Bug fix] Embedded iframes with unusal theming

> Please let me know if this post should live somewhere else Hi! Encountered issues with YouTube iframe embeds applying a bunch of weird margin and padding within markdown-body. The bug looks like it offsets by 15px left and right alternating each individual iframe. My fix for this issue; by all means not perfect but does the job: ``` /* YouTubev video weird spacing fix - start */ body .markdown-body>.embed_hasImg:nth-of-type(odd) { margin-right: 0px !important; padding: 0px !important; } body .markdown-body>.embed_hasImg:nth-of-type(even) { margin-left: 0px !important; padding: 0px !important; } .markdown-body .embed-media>:only-child { margin: 0px !important; border-radius: 6px !important; } /* YouTubev video weird spacing fix - end */ ```
ANSWERED

Can a page show endpoint object

Can we show a page with endpoint object rendererd from OAS ? Similar to the below example where accounts endpoint shows a page (section) with account object ? <https://stripe.com/docs/api/accounts/object#account_object> Thanks for your help.

Sharing content in a toc

Is it possible to share a topic in more than one node (ie have it as sub page in more than one location)? OR Is it possible to embed shared content in to a page so that we have one source of truth for identical content blocks?
ANSWERED

Help! in setting the value of the email address input field on the contact field

Hey i am doing a form page in html so that the user that logged in will send me massages and i need to autofill the email field to the one who currently logged in to his readme account there is anyway to do so? Best regards