API Question For Dummys #1044
Replies: 1 comment 8 replies
-
Yes, due to the design of PrivateBin many actions need to be done in the client (being it a browser or CLI), such as encrypting (optionally with a password) or so, If you look at the API doc, you find JSON-LD being linked. The one for create lists some properties. However, in new versions of PrivateBin much of that data you mention has been included as authenticated data in the encryption scheme, as such even a server admin can hardly modify it. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question surrounding the use of the PrivateBin api here. I was going to experiment with it but seeing how it's a long weekend I probably won't get to it before Tuesday, and thought I would reach out first.
If say a company is running an instance of privatebin, provided the instance has the api could I use it to programmatically generate a private bin url? Does the
Create Paste
action take place of the manual process of pasting the data and generating a url?What's throwing me off maybe is that there are options I am seeing in the UI such as including a password, burn after reading, and or an expiration date that can be included. I didn't see or at least recognize anything on the api page regarding how to specify any of that when creating a paste.
Some help and insight would be appreciated. Thanks
Beta Was this translation helpful? Give feedback.
All reactions