Listing Pastes
List all your pastes.
POSTGET *https://api.dotmaui.com/client/1.0/pastebin/
Parameters
Field | Type | Description | Required |
---|---|---|---|
apikey | String |
.Maui Api key |
True |
cmd | String |
At the moment, only the ls command is available for displaying your pastes, with a maximum limit of 500. |
True |
limit | String |
It accepts two numeric arguments separated by a comma (e.g., 10,10). The first argument indicates the offset of the first file to be returned, while the second specifies the maximum number of files to be returned." Default is 0,500.
|
False |
beauty | Boolean |
Format your JSON to make it more readable. Default is false.
|
False |
For performance reasons, the text content is excluded. To retrieve the text of a single paste, use the get function.
Success 200
It will be a JSON string
HTTP/1.1 200 OK { "1": { "title": "Raspberry Pi", "date": "2024-03-10T10:06:47.657Z"", "language": "html", "author": "DotMaui", "UID": "ZOgxLQv7", "exposure": "public", "url": "https://pastebin.dotmaui.com//ZOgxLQv7", "expiration": null }, "2": { "title": "Pyserver", "date": "2024-03-11T12:06:55.657Z"", "language": "python", "author": "DotMaui", "UID": "7Q433Fl5", "exposure": "public", "url": "https://pastebin.dotmaui.com/7Q433Fl5", "expiration": "2024-03-20T12:06:55.657Z" } }