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
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": "HyperOpt",
        "releases_url": "https://pypi.org/project/hyperopt/",
        "logo": "https://camo.githubusercontent.com/d9cabe82cdc7bff598f84d61b0a8921cd5c3ceb0716b03399fc31db1a2a23182/68747470733a2f2f692e706f7374696d672e63632f54506d66665772702f68797065726f70742d6e65772e706e67",
        "fixed_release_url": "https://github.com/hyperopt/hyperopt/releases",
        "releases_urls_list": [
            "https://spark.apache.org/releases/spark-release-3-4-4.html",
            "https://spark.apache.org/releases/spark-release-3-5-4.html",
            "https://spark.apache.org/releases/spark-release-3-5-5.html"
        ]
}'
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
fixed_release_url
string 
optional
releases_urls_list
array[string]
optional
Examples

Responses

🟢200Success
application/json
Body
string 
optional
Modified at 2025-05-02 18:08:20
Previous
Create Subscription
Next
GET List of the last 30 days updates
Built with