Api Key Service
API Documentation for https://apikeys.wbsoftwaresolutions.com
npm package available for ease of use: https://www.npmjs.com/package/api-key-service
You can add any query parameter you want with a value of type string, boolean, or number. This will be set on the apiKey. Parameter enabled is not required and will default to true. You cannot set the query parameter of apiKey.
Get an apikey from https://apikeys.wbsoftwaresolutions.com
Default: true
                                                
GET https://apikeys.wbsoftwaresolutions.com/api/keys?enabled=true&isAdmin=true&isDev=false&ip=127.0.0.1
                                            
                                        
                                                    
{
    "apiKey": "someApiKey",
    "enabled": true,
    "isAdmin": true,
    "isDev": false,
    "ip": "127.0.0.1"
}
                                                
                                            This will retrieve all of your apiKeys stored in the service.
Get an apikey from https://apikeys.wbsoftwaresolutions.com
                                                
GET https://apikeys.wbsoftwaresolutions.com/api/keys/all
                                            
                                        
                                                    
{
    "apiKeys": [
        {
            "apiKey": "someApiKey",
            "enabled": true,
            "isAdmin": true,
            "isDev": false,
            "ip": "127.0.0.1"
        }
    ]
}
                                                
                                            This will validate whatever key-values you pass in are equal to the key-values of the apiKey stored in the api service. If they are all true it will only return { valid: true } otherwise it will return { valid: false, invalid: {} } where invalid will contain all the key value pairs that did not match, with the value the api service was expecting.
Get an apikey from https://apikeys.wbsoftwaresolutions.com
The `apiKey` you want to validate
                                                
GET https://apikeys.wbsoftwaresolutions.com/api/keys/validate?apiKey=someApiKey&isAdmin=true
                                            
                                        
                                                    
{
    "valid": true
}
                                                
                                            You can add any query parameter you want with a value of type string, boolean, or number. This will be set on the apiKey. Parameter enabled is not required and will default to true. If you do not specify a parameter that existed there earlier, it will be deleted.
Get an apikey from https://apikeys.wbsoftwaresolutions.com
The `apiKey` you want to update
Default: true
                                                
PUT https://apikeys.wbsoftwaresolutions.com/api/keys?apiKey=someApiKey&enabled=false&isDev=true&ip=127.0.0.1&five=5
                                            
                                        
                                                    
{
    "apiKey": "someApiKey",
    "enabled": false,
    "isDev": true,
    "ip": "127.0.0.1",
    "five": 5
}
                                                
                                            This will delete the specified apiKey.
Get an apikey from https://apikeys.wbsoftwaresolutions.com
The `apiKey` you want to delete
                                                
DELETE https://apikeys.wbsoftwaresolutions.com/api/keys?apiKey=someApiKey
                                            
                                        
                                                    
{
    "apiKey": "someApiKey",
    "enabled": false,
    "isDev": true,
    "ip": "127.0.0.1",
    "five": 5
}