![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
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/shettyh/contacts-book
User needs to register to the APP to create their contacts book. Using register API they can register.
/api/v1/register
PUT
application/json
{
"email" : "email",
"name" : "name",
"phone" : "contact number",
"password" : "password"
}
{
"status": "Registered successfully"
}
User can add a new contact using this API. This API needs authentication.
/api/v1/user/contacts/add
PUT
application/json
Basic <base64(username:password)>
{
"email" : "emailid of the contact",
"name" : "name of the contact",
"phone" : "contact number"
}
User can update an existing contact using this API. This API needs authentication.
/api/v1/user/contacts/update
POST
application/json
Basic <base64(username:password)>
{
"email" : "existing emailid of the contact",
"name" : "name of the contact",
"phone" : "contact number"
}
User can delete an existing contact using this API. This API needs authentication.
/api/v1/user/contacts/<contact email id>
DELETE
Basic <base64(username:password)>
User can get all the contacts using this API. This API can be paginated using the below mentioned Query params and the results will be Sorted based on EmailId of the contact.
/api/v1/user/contacts?pageNo=<page no>&pageSize=<page size>
GET
application/json
[
{
"email": "email of the contact",
"name": "Name of the contact",
"phone": "contacts phone number",
"user_id": "Users email ID"
},
...
]
User can search for contacts using name or email or both using this API. This API can be paginated using the below mentioned Query params and the results will be Sorted based on EmailId of the contact.
/api/v1/user/contacts/search?emailId=<emailId>&name=<name>&pageNo=<page no>&pageSize=<page size>
GET
application/json
[
{
"email": "email of the contact",
"name": "Name of the contact",
"phone": "contacts phone number",
"user_id": "Users email ID"
},
...
]
go test -tags=integration ./...
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.