Strategy Models API


GET /api/v1/strategy_models

Get all strategy models

GET /api/v1/strategy_models

Example CURL command

curl -g "https://company.aha.io/api/v1/strategy_models" -X GET \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
Content-Type: application/json
Accept: application/json

Response

Status: 200 OK
  Content-Type: application/json; charset=utf-8
{
  "strategy_models": [
    {
      "id": "356242517",
      "name": "Aha! business model canvas",
      "kind": "Business",
      "components": [
        {
          "id": 310750587,
          "name": "Value Proposition",
          "description": ""
        }
      ],
      "url": "http://company.aha.io/business_models/356242517",
      "resource": "http://company.aha.io/business_models/356242517",
      "project": {
        "id": "131414752",
        "reference_prefix": "PRJ1",
        "name": "Project 1",
        "product_line": false,
        "created_at": "2019-01-01T00:00:00.000Z"
      }
    },
    {
      "id": "111251416",
      "name": "Aha! business model canvas",
      "kind": "Business",
      "components": [
        {
          "id": 62803905,
          "name": "Growth opportunity",
          "description": ""
        }
      ],
      "url": "http://company.aha.io/business_models/111251416",
      "resource": "http://company.aha.io/business_models/111251416",
      "project": {
        "id": "517761884",
        "reference_prefix": "PRJ2",
        "name": "Project 2",
        "product_line": false,
        "created_at": "2019-01-01T00:00:00.000Z"
      }
    }
  ],
  "pagination": {
    "total_records": 2,
    "total_pages": 1,
    "current_page": 1
  }
}

GET /api/v1/strategy_models/:id

Get a specific strategy vision

Parameters

Name Description
id * Numeric ID of the strategy model to be retrieved

GET /api/v1/strategy_models/111251416

Example CURL command

curl -g "https://company.aha.io/api/v1/strategy_models/111251416" -X GET \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
Content-Type: application/json
Accept: application/json

Response

Status: 200 OK
  Content-Type: application/json; charset=utf-8
{
  "strategy_model": {
    "id": "111251416",
    "name": "Aha! business model canvas",
    "kind": "Business",
    "components": [
      {
        "id": 62803905,
        "name": "Growth opportunity",
        "description": ""
      }
    ],
    "url": "http://company.aha.io/business_models/111251416",
    "resource": "http://company.aha.io/business_models/111251416",
    "project": {
      "id": "517761884",
      "reference_prefix": "PRJ2",
      "name": "Project 2",
      "product_line": false,
      "created_at": "2019-01-01T00:00:00.000Z"
    }
  }
}

Overview

API Resources