Code Monkey home page Code Monkey logo

cht_api_guide's Introduction

CloudHealth API Guide

Welcome to the CloudHealth API Guide (http://apidocs.cloudhealthtech.com). Here you'll find documentation for API services that programmatically retrieve data from the CloudHealth Platform.

The CloudHealth API is organized around REST. The API has predictable, resource-oriented URLs, and it uses HTTP response codes to indicate API errors. All API responses, including errors, return JSON.

The goal of the CloudHealth API is to let you write your own applications that leverage and extend CloudHealth functionality.

This API continues to be under development and will evolve. CloudHealth sends information on additions and changes to the API in the Product Updates emails that go out to all customers.

Getting Help

The CloudHealth API's issue tracker is not a support forum.

If you’re looking for support on the CloudHealth Platform, here are some options:

Report a Bug

If you think you’ve found a bug within the documentation, open an issue in this repository.

cht_api_guide's People

Contributors

antongurov avatar aschepis avatar bindmoh avatar brindlefly avatar catherine440 avatar corbanmailloux avatar dickwallace01 avatar dsammel avatar em-turner avatar humanistserif avatar idonovan-cht avatar jeffbrainerd avatar jeremieroche avatar lardcanoe avatar msayler avatar msokolow12 avatar nisavid avatar pbfein avatar petelacey avatar pplu avatar sjstack avatar sonalvikramk-zz avatar sonalvk29 avatar tader avatar thelocust3 avatar vpillai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cht_api_guide's Issues

No support for MSP

There is no API support for MSP accounts, this becomes a right mess when we need to do things in the parent and child accounts. Is there a plan to expose an API for MSP?

Add User to organization

I am currently trying to automate the new user process in CloudHealth, which includes adding existing users to existing organizations.
Although there is an API endpoint to add Accounts, I do not see one for users.

Thank you for your help!

Issues calling olap_reports/metrics/X

Hello,

When attempting to call a report for the metrics class of reports - I am unable to get a return JSON and instead get a 404 error despite the "olap_reports/metrics" endpoint returning a list of links.

For example - this is one of the links returned from the listing of report links for the metrics category:
'https://chapi.cloudhealthtech.com/olap_reports/metrics/s3'

However, when attempting to call that report directly - I get a 404 using the standard GET request with a Content-Type of "application/json" and the usual api_key parameter with the correct key. I can confirm I am able to pull other types of reports from other categories such as the "usage" category via these same methods but the metrics links don't appear to be working?

Apologies if I missed any specific documentation for this category but I did look and didn't see anything different for this.

Recommendations API?

Is there support for retrieving data from the recommendations section of the CH web site? Specifically, the EC2 instance rightsizing recommendations?

Thanks.

Allow searching statements by Invoice ID

Hi,

I'd like to be able to query the Customer Statement API with an AWS Invoice ID to retrieve the invoice data. Currently it seems it can only be queried with a statement ID.

It would also be useful to have the invoice ID included in the API response as well, as this is already a feature in the CloudHealth GUI.

Support for CORS

is there any plan for CORS support?

What about jsonp support?

Assets API - Filter by tag

In the CloudHealth Assets console, it's very easy to use the Smart Filters to only show resources that have a particular tag key (and optionally a specific value). I haven't been able to emulate the same filtering with the Assets API. There is a tags field for most AWS resources but the docs aren't clear on whether you can filter down by a specific tag. I can filter all S3 buckets down to the ones that have no tags whatsoever with this query:

curl -H 'Authorization: Bearer my-token' "https://chapi.cloudhealthtech.com/api/search?&name=AwsS3Bucket&api_version=2&query=tags=''"

But how would I get all S3 buckets that have an Environment tag, for example? Or show all buckets that do not have a particular tag?

CloudHealth Cost assessment for Lift and Shift Migration

Hi All,

I have a typical use case of Lift and Shift from On-premise VMware DC to AWS and Azure Cloud.
We have a customized rate card where we charge for per server provisioning based on our pricing model which is different from how VMware charges. Now to create existing and target cost baseline we need to push this additional cost data via excel to CLoudHealth so that it gives back current baseline data and then we can derive target cost estimation using CloudHealth Migration Assessment.
Do we have a way to import pricing/cost card to derive current resources cost using CloudHealth

Search in the docs doesn't seem to work beyond the title of a page.

Not sure if that was the intent or not, but it makes real hard to use the docs to search for pertinent examples. for example: search for page or api_version. Both in the docs....both return zero results. Workaround is to search the repo, but doesn't seem to be the intent here if you are publishing these docs with a search bar.

Availability Zone and Region Name not exported with ElastiCache Clusters/ReservedNodes API

Hi,
I am consuming the api in order to cross the inuse ElastiCache Cluster and the Reserved nodes:

  • In the Web App we are able to see the region of the cluster or reserved node but in the API these fields are not available
    It would be interesting to have both AZ and Region in the clusters payload and Region and Engine in the Reserved Nodes

This way I can check how far are we from the Reservation compared with the InUse clusters
If there are any workaround (without having to go to AWS directly) please let me know

Thank you

Pedro

assume_role_external_id should not be required when creating accounts

On both account and partner API you require us to pass in an external id when creating accounts. There is no way via the API to get an external id. This means we would need to either a) screen scrape or b) reuse an existing which defeats the whole security model for wanting this in the first place.

I think the external id param should be optional to be flexible for those who want to use the same external id on multiple accounts. If one is not specified it should create it and return it via the API call to create the account

Drilldown Metrics for all resources

Is it possible to get the drill-down from the azure_cost/history API endpoint like it's possible from the website?

I'd like to get detailed information like the CSVs that can be downloaded from the website:
image

Thanks! =)

Docs need fixing?

Go here: https://apidocs.cloudhealthtech.com/#accountexternal-id-get click on the link "How to get External ID." dead anchor.

https://apidocs.cloudhealthtech.com/#partner_how-to-get-client-api-id if you list all accounts or create an account you get the id back

https://apidocs.cloudhealthtech.com/#assignment_create-aws-account-assignment-version-2
PARAMETERS: should have a root level of aws_account_assignments and in the example owner_id in the first lot is a string no matter what call you do it requires an array.

Lots of Sample Requests do not include the relevant escapes either

Base API endpoint is unavailable

Hi!

The base API endpoint - https://chapi.cloudhealthtech.com/ - seems to be unavailable.
We receive a 503 when we try to run our reporting code or try to access the page from the browser.

Is there any ETA on when the service is going to be up again? Or has the URL changed perhaps?

Thanks!
Yasia

OpenAPI spec

Is the cloudhealth-swagger.json or other OpenAPI generated spec able to be shared?

I'm trying to integrate several API's with data from CloudHealth's API. Ingesting the spec really would be handy rather than plumbing a lot of the methods manually.

I noticed the file is named in the .gitignore, perhaps it can be sanitized if necessary and then shared directly to try it out or more generally for some helpful feedback or maybe it just works (tm)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.