DavG25-Lab API Documentation

Warning: all the Lab APIs up to version 4K are deprecated (only critical updates will be released), everything will continue to work but the main stable branch will move here

Version 2

[API permalink] [Docs permalink]

Latest version will always be on davg25.com/lab/api/
Latest docs will always be on davg25.com/lab/api/docs/

Older versions will be on davg25.com/lab/api/v<version number>/ [EG: davg25.com/lab/api/v2/]
Older docs will be on davg25.com/lab/api/v<version number>/docs/ [EG: davg25.com/lab/api/v2/docs/]


API Usage

.../api/v2/?version Returns the current API version [Static]
.../api/v2/?set
POST [String]: item
POST [String]: value
Sets the specified item to the specified value
.../api/v2/?get
POST [String]: item
Returns the specified item value
.../api/v2/?reset_all Cleans all the session items [Deprecated]
.../api/v2/?get_all Returns all the items and their values [Deprecated]
.../api/v2/?shortener
POST [String]: url
OPTIONAL POST [Bool]: expire_after_use
OPTIONAL POST [Bool]: no_check
Shortens the specified URL and returns the short link
.../api/v2/?sendmail
POST [String]: to
POST [String]: subject
POST [String]: message
POST [String]: sender
POST [String]: devkey
Sends an email to the specified contact with the specified values [Reserved]
.../api/v2/?support
POST [String]: app
POST [String]: subject
POST [String]: message
POST [String]: sender
POST [String]: devkey
Sends an email to the specified contact with the specified values [Reserved] [Deprecated]
.../api/v2/?check_exists Checks if the specified Auth is currently used [Deprecated]
STATIC POST [String]: auth Forwards a request using a custom Auth [Always required]


General informations

- The Lab API will accept both HTTP and HTTPS connections
- The items and their values will only last for a limited amount of time




For further support, please use this contact: lab-api@davg25.com