Discussions

Ask a Question
ANSWERED

Is it possible to place two images side by side?

I'm writing some documentation for a mobile application, for this i use a lot of mobile screenshot, which don't really work in the standard layout as they will take up the entire screen. Is there any way to place two images side by side?
ANSWERED

POST requests add base64 on multipart/form-data when file is referenced in the payload

Recently users have been complaining that some of the examples from the documentation are not working. Previously when a file was attached to the payload (multipart/form-data), it was attached the following way: curl -X POST "https://api.emysound.com/api/v1/Tracks" -H "accept: application/json" -F "file=@do_not_go.wav;type=audio/x-wav" Since latest updates, it attaches it the following way: curl --request POST \ --url https://api.emysound.com/api/v1/Tracks \ --header 'Accept: application/json' \ --header 'Content-Type: multipart/form-data; boundary=---011000010111000001101001' \ --form MediaType=Audio \ --form 'file=data:audio/x-wav;name=do_not_go.wav;base64 <ENTIRE BASE 64 OF THE FILE> The difference is in the file form: Previous: --form "file=@do_not_go.wav;type=audio/x-wav" Right now: --form "file=data:audio/x-wav;name=do_not_go.wav;base64 <ENTIRE BASE 64 OF THE FILE>" Notice how it attaches base64 on the entire file which triggers errors on the server side since no base64 payload is expected, rather path to the file. Is there any way to enable back previous behavior?
ANSWERED

Swagger schema validation failed

trying to import a URL and got this error: ``` Swagger schema validation failed. Data does not match any schemas from 'anyOf' at #/definitions/ResponseListWebhookAction/properties/data/items Array items are not unique (indexes 0 and 22) at #/definitions/ResponseListWebhookAction/properties/data/items/enum Expected type array but found type object at #/definitions/ResponseListWebhookAction/properties/data/items JSON_OBJECT_VALIDATION_FAILED ``` File URL is https://app.harness.io/gateway/pipeline/api/swagger.json
ANSWERED
ANSWERED

How to hide/disable "Try it" button?

Hi, Is there an option to hide/disable the "Try it" button, on a per-endpoint basis or globally for all API endpoints ? Thank you! Eric
ANSWERED

Access sitemap.xml file?

Does Readme.io maintain a sitemap.xml file for individual documentation sites? And if so, what is the URL to access for our site?
ANSWERED

How to replace example.com from the code snippets, in the language examples?

For example on the api reference page, when looking at the `curl` example ``` Request curl --request GET \ --url https://example.com/api/v0.0.1/schema/ \ --header 'Accept: application/vnd.oai.openapi' ``` Or, the python version: ``` Installation Request import requests url = "https://example.com/api/v0.0.1/schema/" headers = &#123;"Accept": "application/vnd.oai.openapi"&#125; response = requests.request("GET", url, headers=headers) print(response.text) ``` How to replace `example.com`? I saw : https://docs.readme.com/docs/url-paths-in-readme#url-element-descriptions But it didn't really go into any sort of details. I also tried: https://docs.readme.com/docs/passing-data-to-jwt#setting-default-variables-in-the-ui
ANSWERED
ANSWERED

Back to Top Button

Hello readme :) Is there a way to implement a back to top button to the pages? Thanks
ANSWERED

Dark mode support

We were thinking to migrate to Readme and because our previous system has dark mode support, we were thinking if this is planned. Developers staring at night on a bright documentation is something very unpleasant.