marco-quicula/Discloud API Action

GitHub Action to interact with the Discloud API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 28, 2024
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: marco-quicula/discloud-api-action@988e5ee043301812312ebb719ee1568d74edb75d # v0.1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
discloud_api_tokenAPI token for authenticationyes
commandCommand to be executed. Supported commands: userinfo, delete, status, upload, commityes
appIdApplication ID. Required for the following commands: delete, status, commit. Can contain the value 'all' for the following commands: delete, statusno
fileFile (.zip) to be uploaded. Required for the following commands: upload, commitno
actionIfExistsAction to be taken if the application is already active. Required for the following command: uploadnoERROR
namedescription
http_codeHTTP status code returned by the API or internal handler
response_bodyBody of the API response or internal handler. In base64 format.
error_messageError message from API or internal handler
response_sourceIndicates whether the response came from the API or was handled internally. Possible values: api, internal