Skip to main content

Goal GET

GET 

/goals/:goalId

Required Permissions: Goal Get or Goal Admin

Request

Path Parameters

    goalId integerrequired

    The id of the Goal that you wish to get data from.

Responses

A JSON Object containing a goal's data.

Schema
    goal object
    id integer
    name string
    description string
    created_at date-time
    created_by object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    created_by_user_id integer
    updated_at date-timenullable
    updated_by objectnullable
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    updated_by_user_id integernullable
    archived boolean
    tags object[]
  • Array [
  • goal_id integer
    goal
    goal_tag_id integer
    goal_tag object
    id integer
    tag string
    created_at date-time
    created_by object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    created_by_user_id integer
    updated_at date-timenullable
    updated_by objectnullable
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    updated_by_user_id integernullable
    goals undefined[]
  • ]
  • teams object[]
  • Array [
  • goal_id integer
    goal
    team_id integer
    team object
    id integer
    external_id integernullable
    name string
    created_at date-time
    created_by object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    created_by_user_id integer
    updated_at date-timenullable
    updated_by objectnullable
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    updated_by_user_id integernullable
    users object[]
  • Array [
  • user_id integer
    user object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    team_id integer
    team
  • ]
  • experiments ExperimentTeam[]
    goals undefined[]
    metrics object[]
  • Array [
  • metric_id integer
    metric object
    id integer
    goal_id integer
    name string
    description string
    type string
    effect string

    Possible values: [positive, negative, unknown]

    archived boolean
    format_str string
    scale integer
    precision number
    value_source_property string
    property_filter string
    created_at date-time
    created_by_user_id integer
    updated_at date-timenullable
    updated_by_user_id integernullable
    goal
    tags object[]
  • Array [
  • id integer
    tag string
    created_at date-time
    created_by_user_id integer
    updated_at date-timenullable
    updated_by_user_id integernullable
  • ]
  • owners object[]
  • Array [
  • metric_id integer
    user_id integer
    user object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
  • ]
  • teams undefined[]
    team_id integer
    team
  • ]
  • ]
  • owners object[]
  • Array [
  • goal
    goal_id integer
    user object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    user_id integer
  • ]
  • metrics object[]
  • Array [
  • id integer
    goal_id integer
    name string
    description string
    type string
    effect string

    Possible values: [positive, negative, unknown]

    archived boolean
    format_str string
    scale integer
    precision number
    value_source_property string
    property_filter string
    created_at date-time
    created_by_user_id integer
    updated_at date-timenullable
    updated_by_user_id integernullable
    goal
    tags object[]
  • Array [
  • id integer
    tag string
    created_at date-time
    created_by_user_id integer
    updated_at date-timenullable
    updated_by_user_id integernullable
  • ]
  • owners object[]
  • Array [
  • metric_id integer
    user_id integer
    user object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
  • ]
  • teams object[]
  • Array [
  • metric_id integer
    metric
    team_id integer
    team object
    id integer
    external_id integernullable
    name string
    created_at date-time
    created_by object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    created_by_user_id integer
    updated_at date-timenullable
    updated_by objectnullable
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    updated_by_user_id integernullable
    users object[]
  • Array [
  • user_id integer
    user object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    team_id integer
    team
  • ]
  • experiments ExperimentTeam[]
    goals object[]
  • Array [
  • goal_id integer
    goal
    team_id integer
    team
  • ]
  • metrics undefined[]
  • ]
  • ]
Loading...