marco-quicula/Discloud API Action
GitHub Action to interact with the Discloud API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 28, 2024
- License
- Apache 2.0
Pinned Snippet
uses: marco-quicula/discloud-api-action@988e5ee043301812312ebb719ee1568d74edb75d # v0.1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| discloud_api_token | API token for authentication | yes | — |
| command | Command to be executed. Supported commands: userinfo, delete, status, upload, commit | yes | — |
| appId | Application ID. Required for the following commands: delete, status, commit. Can contain the value 'all' for the following commands: delete, status | no | — |
| file | File (.zip) to be uploaded. Required for the following commands: upload, commit | no | — |
| actionIfExists | Action to be taken if the application is already active. Required for the following command: upload | no | ERROR |
Outputs
| name | description |
|---|---|
| http_code | HTTP status code returned by the API or internal handler |
| response_body | Body of the API response or internal handler. In base64 format. |
| error_message | Error message from API or internal handler |
| response_source | Indicates whether the response came from the API or was handled internally. Possible values: api, internal |