Pastebin

Check-in [49f2abf624]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix typo in man page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 49f2abf62433fe9c82a02c4013130ff6ad5cf5b507a26b3e8fcc1a63bc0e3530
User & Date: jef 2019-11-05 06:59:53
Context
2019-11-05
08:36
Turn Db struct fields private check-in: d52baeac41 user: jef tags: trunk
06:59
Fix typo in man page check-in: 49f2abf624 user: jef tags: trunk
2019-11-04
14:54
Use a reserved TLD for examples. check-in: 9fe314d5fa user: jef tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pastebin.1.

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.Pp
An API, accessible via an API key, let the administrator manage the
pastebin (purge old pastes, list pastes, delete a single paste).
.Sh CONFIGURATION FILE
.Nm
configuration file is made of key/value pairs:
.Ss pasteurl
Specify the base url of this pastebin server (required). This value is used to
and generate valid pastes URL. When pastebin is used behind an http
proxy, the public URL should be specified here.
.Pp
Example:
.Dl pasteurl: https://domain.test/pastebin
.Ed
.Pp
Using the value above, the pastes URL will have the following
form:







|
|
|







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.Pp
An API, accessible via an API key, let the administrator manage the
pastebin (purge old pastes, list pastes, delete a single paste).
.Sh CONFIGURATION FILE
.Nm
configuration file is made of key/value pairs:
.Ss pasteurl
Specify the base url of this pastebin server (required). This value is
used to generate valid pastes URL. When pastebin is used behind an
http proxy, the public URL should be specified here.
.Pp
Example:
.Dl pasteurl: https://domain.test/pastebin
.Ed
.Pp
Using the value above, the pastes URL will have the following
form:

Changes to pastebin.1.txt.

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
...
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
     pastebin (purge old pastes, list pastes, delete a single paste).

CONFIGURATION FILE
     pastebin configuration file is made of key/value pairs:

   pasteurl
     Specify the base url of this pastebin server (required). This value is
     used to and generate valid pastes URL. When pastebin is used behind an
     http proxy, the public URL should be specified here.

     Example:
           pasteurl: https://domain.test/pastebin

     Using the value above, the pastes URL will have the following form:
           https://domain.test/pastebin/e2bd5143bd

................................................................................
     Purge pastes older than <ndays> days.

     Example:

           $ curl -d apikey="810a5bdaaf" https://domain.test/pastebin/api/purge/10

   <pasteurl>/api/del/<pasteid>
     Delete a single paste. The <pasteid> argument must be the 10 characters
     hexadecimal value assigned to a paste.

     Example:

           $ curl -d apikey="810a5bdaaf" https://domain.test/pastebin/api/del/1085a72014

AUTHOR
     Gerome Fournier <jef@foutaise.org>.

                                 November 2019







|
|







 







|
|









14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
...
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
     pastebin (purge old pastes, list pastes, delete a single paste).

CONFIGURATION FILE
     pastebin configuration file is made of key/value pairs:

   pasteurl
     Specify the base url of this pastebin server (required). This value is
     used to generate valid pastes URL. When pastebin is used behind an http
     proxy, the public URL should be specified here.

     Example:
           pasteurl: https://domain.test/pastebin

     Using the value above, the pastes URL will have the following form:
           https://domain.test/pastebin/e2bd5143bd

................................................................................
     Purge pastes older than <ndays> days.

     Example:

           $ curl -d apikey="810a5bdaaf" https://domain.test/pastebin/api/purge/10

   <pasteurl>/api/del/<pasteid>
     Delete a single paste. The <pasteid> argument must be the 10
     characters hexadecimal value assigned to a paste.

     Example:

           $ curl -d apikey="810a5bdaaf" https://domain.test/pastebin/api/del/1085a72014

AUTHOR
     Gerome Fournier <jef@foutaise.org>.

                                 November 2019