Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/vctrl/social-media-network/api
// USERS
GET /me
response: user
POST /register
request: { login, password, name, surname, age, sex, interests, city }
response: user, 201
POST /login
request: { login, password }
response: {user_id, token}
GET /users/{id1,id2,id3...}
PUT /users/{id}
response user
DELETE /users/{id}
response: 200 ok
POST /logout
// FRIENDS
// список друзей
GET /friends/
response {[ user ]}
// исходящие заявки
GET /friends/requests/sent
response [user_id1, user_id2 ...]
// входящие заявки
GET /friends/requests
response [user_id1, user_id2 ...]
// отправить заявку в друзья
POST /friends/{user_id}
response 200
// принять заявку в друзья
POST /friends/{id}/accept
response 200
// удалить друга
DELETE /friends/{user_id}
// отменить заявку
DELETE /friends/requests/{id}
user {id, login, name, surname, age, sex, interests, city }
friend_request {}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.