Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the app version to the capabilities endpoint #1040

Closed
ThibautPlg opened this issue Jul 31, 2024 · 0 comments · Fixed by #1041
Closed

Expose the app version to the capabilities endpoint #1040

ThibautPlg opened this issue Jul 31, 2024 · 0 comments · Fixed by #1041
Assignees
Labels
api Modification linked to internal or external call to the application feature Ask for a new feature or new feature proposition Suggested improvement to be discussed

Comments

@ThibautPlg
Copy link
Collaborator

Hello,
Could it be possible to expose the app version through the capabilities endpoint?
This is useful when managing multiple Nextcloud to monitor and report the app version. Many other Nextcloud Apps are already exposing this data (circles, richdocuments, deck to name a few)

Example:

curl --request GET \
  --url https://mycloud.localnet.com/ocs/v2.php/cloud/capabilities \
  --header 'OCS-APIRequest: true'

would return

        "workspace": {
          "appVersion": "3.2.1"
        },

See : https://github.com/nextcloud/groupfolders/pull/2861/files

Best regards,

@ThibautPlg ThibautPlg added feature Ask for a new feature or new feature api Modification linked to internal or external call to the application proposition Suggested improvement to be discussed labels Jul 31, 2024
@zak39 zak39 self-assigned this Jul 31, 2024
zak39 added a commit that referenced this issue Aug 2, 2024
We expose the app version and is enabled.

- verb: GET
- URI: /ocs/v2.php/cloud/capabilities
- Header: OCS-APIRequest:true
- Header: Accept:application/json

Respond to this need : #1040.
@zak39 zak39 linked a pull request Aug 19, 2024 that will close this issue
zak39 added a commit that referenced this issue Aug 22, 2024
We expose the app version and is enabled.

- verb: GET
- URI: /ocs/v2.php/cloud/capabilities
- Header: OCS-APIRequest:true
- Header: Accept:application/json

Respond to this need : #1040.
zak39 added a commit that referenced this issue Aug 22, 2024
We expose the app version and is enabled.

- verb: GET
- URI: /ocs/v2.php/cloud/capabilities
- Header: OCS-APIRequest:true
- Header: Accept:application/json

Respond to this need : #1040.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Modification linked to internal or external call to the application feature Ask for a new feature or new feature proposition Suggested improvement to be discussed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants