keenlabs / KeenClient-PHP

Official PHP client for the Keen IO API. Build analytics features directly into your PHP apps.
https://keen.io/docs
MIT License
133 stars 57 forks source link

Operation description entries in the Guzzle service description refer to GET instead of POST #124

Closed baumatron closed 7 years ago

baumatron commented 7 years ago

Operation description entries in the Guzzle service description refer to GET instead of POST. They need to be updated to reflect the HTTP method.

For example:

        'count' => array(
            'uri'         => 'projects/{projectId}/queries/count',
            'description' => 'GET returns the number of resources in the event collection matching the given criteria.'
                            . ' The response will be a simple JSON object with one key: a numeric result.',
            'httpMethod'  => 'POST',
luchianenco commented 7 years ago

I will do ;) P.S. Check PR