Using Typescript to make a place to storage all of your passwords.
- Create a credential/card/note/document/wifi file, where the user can put the passwords informations
- Get all of these files, in blocks of types or individualy
- Delete these files individualy
Creating an account
Body |
Type |
Description |
email |
email |
Required. Email for the application |
password |
string |
Required. Password used on the current application |
Entering the application
Body |
Type |
Description |
email |
email |
Required. Email for the application |
password |
string |
Required. Password used on the current application |
Token from the user
Where the user can create a file putting an website url and the informations for the account on that website.
Body |
Type |
Description |
title |
string |
Required. Name for the file |
url |
uri |
Required. URL from the website |
username |
string |
Required. Username used on the website |
password |
string |
Required. Password used on the website |
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Getting one credential from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the credential |
All the information from one credential
Getting all credentials from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
All the credentials from one user
Deleting one credential from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the credential |
Where the user can create a file putting all the informations from a card.
Body |
Type |
Description |
title |
string |
Required. Name for the file |
cardNumber |
string |
Required. String only with numbers, with max length of 16 characteres |
cardName |
string |
Required. The name written on the card |
cvv |
string |
Required.The Security Code from the card |
expirationDate |
string |
Required. String in the format MM/YY |
password |
string |
Required. Password from the card |
isVirtual |
boolean |
Required.Information if it's virtual or not |
type |
cardType |
Required. The type from the card |
Valid types: [credit, debt, both]
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Getting one card from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the card |
All the information from one card of the user
Getting all cards from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
All the information from all cards of the user
Deleting one card from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the card |
Where the user can create a file putting a note to keep it safe.
Body |
Type |
Description |
title |
string |
Required. Name for the file. Max length: 50 char |
note |
uri |
Required. The note the user wants to keep safe. Max length: 1000 char |
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Getting one note from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the note |
All the information from one note of the user
Getting all notes from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
All the information from all notes of the user
Deleting one note from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the note |
Where the user can create a file putting an network name and its password.
Body |
Type |
Description |
title |
string |
Required. Name for the file |
network |
string |
Required. Name from the network |
password |
string |
Required. Password used on the network |
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Getting one wifi from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the wifi |
All the information from one wifi of the user
Getting all wifis from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
All the information from all wifis of the user
Deleting one wifi from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the wifi |
Where the user can create a file putting all the information from a RG or CNH, that are national documents.
Body |
Type |
Description |
type |
docType |
Required. The type of the doc being used |
fullName |
string |
Required. Name written on the document |
emissionDate |
string |
Required. Date that it was released, on format "DD/MM/YYYY" |
expiryDate |
string |
Required. Date that it will expire, on format "DD/MM/YYYY" |
registerNumber |
string |
Required. Number from the document |
issuingBody |
string |
Required. Where the document was made |
Valid types: [RG, CNH]
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Getting one document from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the document |
All the information from one document
Getting all documents from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
All the information from all the documents
Deleting one document from the user
Headers |
Type |
Description |
Authorization |
string |
Required. Token from the user |
Params |
Type |
Description |
id |
integer |
Required.ID from the document |
OBS.: For security reasons, the token only lasts 5m. If you want it to least more, access if from your machine.