-
Notifications
You must be signed in to change notification settings - Fork 3
Admin API Endpoints
Lewis L. Foster edited this page May 2, 2020
·
8 revisions
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR) -
files
- An array of the filenames of all uploaded files
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration -
Auth
- The API key for the uploaded file -
filename
- The filename to save the file as
-
file
- Binary Data
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR) -
FileLink
- The link to the uploaded file
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration -
Auth
- The API key for authorization
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR)
-
username
- The username for admin authentication set in configuration - 'password' - The password for admin authentication set in configuration
-
Auth
- The API key for authorization -
oldfilename
- The current filename of the file to be renamed -
newfilename
- The new filename for the current file
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR) -
NewLink
- The new link for the file
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR) -
links
- An array of the filenames of all uploaded files
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration -
Auth
- The API key for the uploaded file -
url
- The long URL to shortern
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR) -
FileLink
- The link to the uploaded file
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration -
Auth
- The API key for authorization -
id
- The link ID to delete
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR)
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration -
Auth
- The API key for authorization -
oldid
- The current ID of the link to be renamed -
newid
- The new ID of the redirect ID
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR) -
NewLink
- The new link for the redirect
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration -
name
- The name to associate with the API key
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR) -
newkey
- The freshly generated API key
-
username
- The username for admin authentication set in configuration -
password
- The password for admin authentication set in configuration -
key
- The name to associate with the API key
N/A
-
Status
- The response HTTP status (INT) -
Message
- Further information aboutStatus
(STR)