Strategy Visions API


GET /api/v1/strategy_visions

Get all strategy visions

GET /api/v1/strategy_visions

Example CURL command

curl -g "https://company.aha.io/api/v1/strategy_visions" -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_visions": [
    {
      "id": "613708188",
      "name": "Project 1 Strategy",
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z",
      "description": null,
      "strategy_vision_components": [
        {
          "id": 1055079655,
          "name": "Our strengths",
          "title": null
        }
      ],
      "url": "http://company.aha.io/project_strategies/613708188",
      "resource": "http://company.aha.io/project_strategies/613708188",
      "project": {
        "id": "131414752",
        "reference_prefix": "PRJ1",
        "name": "Project 1",
        "product_line": false,
        "created_at": "2019-01-01T00:00:00.000Z"
      }
    },
    {
      "id": "262392474",
      "name": "Project 2 Strategy",
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z",
      "description": null,
      "strategy_vision_components": [

      ],
      "url": "http://company.aha.io/project_strategies/262392474",
      "resource": "http://company.aha.io/project_strategies/262392474",
      "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_visions/:id

Get a specific strategy vision

Parameters

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

GET /api/v1/strategy_visions/613708188

Example CURL command

curl -g "https://company.aha.io/api/v1/strategy_visions/613708188" -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_vision": {
    "id": "613708188",
    "name": "Project 1 Strategy",
    "created_at": "2019-01-01T00:00:00.000Z",
    "updated_at": "2019-01-01T00:00:00.000Z",
    "description": null,
    "strategy_vision_components": [
      {
        "id": 1055079655,
        "name": "Our strengths",
        "title": null
      }
    ],
    "url": "http://company.aha.io/project_strategies/613708188",
    "resource": "http://company.aha.io/project_strategies/613708188",
    "project": {
      "id": "131414752",
      "reference_prefix": "PRJ1",
      "name": "Project 1",
      "product_line": false,
      "created_at": "2019-01-01T00:00:00.000Z"
    }
  }
}

Overview

API Resources