Aha.io Strategic visions API

The Strategic visions API from Aha.io — 2 operation(s) for strategic visions.

OpenAPI Specification

aha-strategic-visions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Aha! Account backups Strategic visions API
  version: 1.0.0
  description: Complete API documentation for Aha! generated from actual test responses
  contact:
    name: Aha! Support
    url: https://www.aha.io/support
servers:
- url: https://{account-domain}.aha.io/api/v1
  description: Aha! API Server
  variables:
    account-domain:
      description: Your Aha! account domain
      default: company
security:
- OAuth2: []
- ApiKeyAuth: []
- CookieAuth: []
tags:
- name: Strategic visions
paths:
  /api/v1/strategy_visions:
    get:
      summary: List strategic visions
      description: null
      tags:
      - Strategic visions
      parameters: []
      responses:
        '200':
          description: Successful operation
          headers:
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/StrategicvisionsGetResponse'
              example:
                strategy_visions:
                - 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'
                    workspace_type: product_workspace
                    url: http://company.aha.io/projects/PRJ2
                - 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: 669674847
                    name: Our market
                    title: null
                  - 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'
                    workspace_type: product_workspace
                    url: http://company.aha.io/projects/PRJ1
                pagination:
                  total_records: 2
                  total_pages: 1
                  current_page: 1
      security:
      - OAuth2: []
      - ApiKeyAuth: []
      - CookieAuth: []
  /api/v1/strategy_visions/{id}:
    get:
      summary: Get a specific strategic vision
      description: null
      tags:
      - Strategic visions
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Id identifier
      responses:
        '200':
          description: Successful operation
          headers:
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/StrategicvisionsGetResponse'
              example:
                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: 669674847
                    name: Our market
                    title: null
                  - 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'
                    workspace_type: product_workspace
                    url: http://company.aha.io/projects/PRJ1
      security:
      - OAuth2: []
      - ApiKeyAuth: []
      - CookieAuth: []
components:
  schemas:
    StrategicvisionsGetResponse:
      type: object
      properties:
        strategy_vision:
          type: object
          properties:
            id:
              type: string
              example: '613708188'
            name:
              type: string
              example: Project 1 Strategy
            created_at:
              type: string
              example: '2019-01-01T00:00:00.000Z'
            updated_at:
              type: string
              example: '2019-01-01T00:00:00.000Z'
            description:
              type: 'null'
            strategy_vision_components:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  title:
                    type: 'null'
                example:
                  id: 669674847
                  name: Our market
                  title: null
              example:
              - id: 669674847
                name: Our market
                title: null
              - id: 1055079655
                name: Our strengths
                title: null
            url:
              type: string
              example: http://company.aha.io/project_strategies/613708188
            resource:
              type: string
              example: http://company.aha.io/project_strategies/613708188
            project:
              type: object
              properties:
                id:
                  type: string
                  example: '131414752'
                reference_prefix:
                  type: string
                  example: PRJ1
                name:
                  type: string
                  example: Project 1
                product_line:
                  type: boolean
                  example: false
                created_at:
                  type: string
                  example: '2019-01-01T00:00:00.000Z'
                workspace_type:
                  type: string
                  example: product_workspace
                url:
                  type: string
                  example: http://company.aha.io/projects/PRJ1
              example:
                id: '131414752'
                reference_prefix: PRJ1
                name: Project 1
                product_line: false
                created_at: '2019-01-01T00:00:00.000Z'
                workspace_type: product_workspace
                url: http://company.aha.io/projects/PRJ1
          example:
            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: 669674847
              name: Our market
              title: null
            - 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'
              workspace_type: product_workspace
              url: http://company.aha.io/projects/PRJ1
      example:
        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: 669674847
            name: Our market
            title: null
          - 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'
            workspace_type: product_workspace
            url: http://company.aha.io/projects/PRJ1
  securitySchemes:
    OAuth2:
      type: oauth2
      description: OAuth2 authentication with bearer tokens
      flows:
        authorizationCode:
          authorizationUrl: https://{account-domain}.aha.io/oauth/authorize
          tokenUrl: https://{account-domain}.aha.io/oauth/token
          scopes: {}
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key authentication using Bearer token in Authorization header. Generate API keys at https://secure.aha.io/settings/api_keys
    CookieAuth:
      type: apiKey
      in: cookie
      name: session
      description: Cookie-based authentication for web browser integration