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

Create Subscription

Developing
POST
/libraries/subscribe
Libraries
Fazer subscrição para recebimento de Newsletter
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/libraries/subscribe' \
--header 'Authorization: Bearer ' \
--header 'user-email: user@email.com' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tags": [
        "bug_fix"
    ],
    "libraries_list": [
        "string"
    ]
}'
Response Response Example
{}

Request

Header Params
Authorization
string 
optional
Example:
Bearer {{access_token}}
Content-Type
string 
optional
Example:
application/json
user-email
string <email>
optional
Example:
user@email.com
Body Params application/json
tags
array[string]
required
tag
Allowed values:
bug_fixupdatedeprecatenew_featuresecurity_fix
libraries_list
array[string]
required
Examples

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2025-05-02 18:02:25
Previous
Like
Next
Add new Library
Built with