Pynews
  1. Libraries
Pynews
  • Authentication
    • Athenticate
      POST
  • News
    • Create
      POST
    • Get
      GET
    • Update
      PUT
    • Like
      POST
  • Libraries
    • Create Subscription
      POST
    • Add new Library
      POST
    • GET List of the last 30 days updates
      GET
  1. Libraries

Add new Library

Developing
POST
/libraries
Add new Library
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/libraries' \
--header 'Authorization: Bearer ' \
--header 'user-email: user@email.com' \
--header 'Content-Type: application/json' \
--data-raw '{
    "library_name": "Lynn Mraz",
    "releases_url": "https://naughty-pillbox.biz/",
    "logo": "https://avatars.githubusercontent.com/u/43718595"
}'
Response Response Example
"string"

Request

Header Params
Authorization
string 
optional
Example:
Bearer {{access_token}}
Content-Type
string 
optional
Example:
application/json
user-email
string 
optional
Example:
user@email.com
Body Params application/json
library_name
string 
required
releases_url
string 
required
logo
string 
required
Examples

Responses

🟢200Success
application/json
Body
string 
optional
Modified at 2025-07-15 00:25:37
Previous
Create Subscription
Next
GET List of the last 30 days updates
Built with