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

Automation using the API? #3661

Open
chgayot opened this issue Sep 12, 2024 · 1 comment
Open

Automation using the API? #3661

chgayot opened this issue Sep 12, 2024 · 1 comment
Labels
feature-request New feature request

Comments

@chgayot
Copy link

chgayot commented Sep 12, 2024

Awesome work Libre Team, that's a project that should be funded!

Is your feature request related to a problem? Please describe.
I'm looking into having some automation scripts that automatically request signatures (with their placement).
Could we do this remotely using the API?
By default, Nextcloud sends me a 404 on the API endpoint, is it designed only to be an internal API or could we make it external? If so, what would be the process? Couldn't find this in the docs.

@chgayot chgayot added the feature-request New feature request label Sep 12, 2024
@vitormattos
Copy link
Member

The API can be used, without any problems. Some of our clients already use it this way.

You can see the API documentation by installing the app https://apps.nextcloud.com/apps/ocs_api_viewer

We don't have updated documentation for all the requests, other than the API documentation itself, but if you open the Developer Tools in your browser (press F12) and look at the Network tab, you will see all the requests that are in the API being used in practice.

Access to the API is the same for any Nexcloud API endpoint, a perhaps simpler way is to use the Authorization header with an access token for the user who will be the one requesting the signatures.

Oh, and we would be very happy to receive recurring support for LibreSign :-D Currently, the perhaps simplest way we have to do it is via GitHub sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request
Projects
Status: 0. Needs triage
Development

No branches or pull requests

2 participants