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

documentation for the API #272

Open
305trueit opened this issue Feb 21, 2024 · 2 comments
Open

documentation for the API #272

305trueit opened this issue Feb 21, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@305trueit
Copy link

Description

Issue Description:

I'm having difficulty locating sufficient documentation for the API, particularly regarding the API. I'm interested in understanding if there's a method to invoke the web application from a script.

The payload, once encrypted, would resemble the following JSON structure:

{
  "text": "<encrypted text>",
  "files": [],
  "title": "<encrypted title>",
  "password": "",
  "ttl": 360,
  "allowedIp": "",
  "preventBurn": false,
  "maxViews": 1,
  "isPublic": false
}

I observed that the response includes a header with an ID, but I'm unsure about the URL to which to send the payload prior to encryption.

Any guidance on this matter would be greatly appreciated.

Screenshots

No response

Additional information

No response

@305trueit 305trueit added the documentation Improvements or additions to documentation label Feb 21, 2024
@bjarneo
Copy link
Member

bjarneo commented Feb 22, 2024

@bjarneo
Copy link
Member

bjarneo commented Oct 29, 2024

Some docs here, but not reliable yet

https://hemmelig.app/api-docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants