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

Api /request_access_permissions 404 #780

Closed
NO-ob opened this issue Jan 9, 2021 · 3 comments
Closed

Api /request_access_permissions 404 #780

NO-ob opened this issue Jan 9, 2021 · 3 comments
Labels
bug dev-notified HyDev has been notified of this

Comments

@NO-ob
Copy link

NO-ob commented Jan 9, 2021

Environment

Hydrus version: 424
Platform: Linux
OS specifics: Arch Linux - using github release not aur

What happens

Steps to reproduce

  1. Enable api and then open > services > review services > clinet api > add > from api request
  2. Http get on urls mentioned above
  3. Getting 404, also tried in the browser with same result

Desired outcome

An acess key to be returned

Error message / Log file / Screenshots

Not seeing any output in terminal from hydrus, output from my app printing response is

I/flutter (19584): <html>
I/flutter (19584):   <head><title>404 - No Such Resource</title></head>
I/flutter (19584):   <body>
I/flutter (19584):     <h1>No Such Resource</h1>
I/flutter (19584):     <p>No such child resource.</p>
I/flutter (19584):   </body>
I/flutter (19584): </html>
@NO-ob NO-ob added the bug label Jan 9, 2021
@kotonbu
Copy link
Collaborator

kotonbu commented Jan 9, 2021

Seems the API help documentation has some incorrect information for the example, the endpoint is /request_new_permissions.

@NO-ob
Copy link
Author

NO-ob commented Jan 9, 2021

Oh that worked lel thankyou

@NO-ob NO-ob closed this as completed Jan 9, 2021
@hydrusnetwork hydrusnetwork added the dev-notified HyDev has been notified of this label Jan 9, 2021
@hydrusnetwork
Copy link
Owner

Thank you for this report! Sorry for the trouble, I will fix this documentation.

hydrusnetwork added a commit that referenced this issue Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dev-notified HyDev has been notified of this
Projects
None yet
Development

No branches or pull requests

3 participants