Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add account method #20

Closed
danepowell opened this issue May 13, 2019 · 4 comments
Closed

Add account method #20

danepowell opened this issue May 13, 2019 · 4 comments

Comments

@danepowell
Copy link
Collaborator

It would be nice if there was a way to call the account endpoint. It doesn't seem like this is possible now. This could be a dedicated account method, or a method that lets you call arbitrary endpoints that might not yet be supported by this package.

My use case isn't really to get account info, but to check that authentication was successful. I've been told that calling account is significantly less expensive than calling other methods like applications.

@typhonius
Copy link
Owner

Thanks @danepowell this is easy enough to add so I'll do so now. One thing I have already noticed though is that the docs for this (https://cloudapi-docs.acquia.com/#/Account/getAccount) do not include the 'created_at' element that the API responds with. Could you work internally to get that added to the docs so our tests work based on what the docs provide?

@typhonius
Copy link
Owner

I wonder if the 'system status' endpoint is even less expensive too.

@danepowell
Copy link
Collaborator Author

danepowell commented Jul 8, 2019

Thanks I'm creating an internal ticket.

@danepowell
Copy link
Collaborator Author

@typhonius you should be able to see the corrected documentation now: https://cloudapi-docs.acquia.com/#/Account/getAccount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants