Skip to main content

Get personal project details

GET 

/api/admin/personal-dashboard/:projectId

Return personal dashboard project events, owners, user roles and onboarding status

Request

Path Parameters

    projectId stringrequired

Responses

personalDashboardProjectDetailsSchema

Schema

    insights

    object

    required

    Insights for the project, including flag data and project health information.

    avgHealthCurrentWindow integernullablerequired

    The project's average health score over the last 4 weeks

    Example: 80
    avgHealthPastWindow integernullablerequired

    The project's average health score over the previous 4-week window

    Example: 70
    totalFlags integerrequired

    The current number of non-archived flags

    Example: 100
    activeFlags integerrequired

    The number of active flags that are not stale or potentially stale

    Example: 98
    staleFlags integerrequired

    The current number of flags that have been manually marked as stale

    Example: 0
    potentiallyStaleFlags integerrequired

    The number of potentially stale flags as calculated by Unleash

    Example: 2
    health integerrequired

    The project's current health score

    Example: 80

    onboardingStatus

    object

    required

    The current onboarding status of the project.

    oneOf

    status stringrequired

    Possible values: [onboarding-started, onboarded]

    Example: onboarding-started

    latestEvents

    object[]

    required

    The latest events for the project.

  • Array [

  • id integerrequired

    The ID of the event.

    Possible values: >= 1

    summary stringnullablerequired

    [Experimental] A markdown-formatted summary of the event.

    createdBy stringrequired

    Which user created this event

    Example: johndoe
    createdByImageUrl stringrequired

    URL used for the user profile image of the event author

    Example: https://example.com/242x200.png
    createdAt date-timerequired

    When the event was recorded

    Example: 2021-09-01T12:00:00Z
  • ]

  • owners

    object

    required

    The users and/or groups that have the "owner" role in this project. If no such users or groups exist, the list will contain the "system" owner instead.

    oneOf

  • Array [

  • anyOf

    ownerType stringrequired

    Possible values: [user]

    name stringrequired
    Example: User Name
    imageUrl stringnullable
    Example: https://example.com/image.jpg
    email stringnullable
    Example: user@example.com
  • ]

  • roles

    object[]

    required

    The list of roles that the user has in this project.

  • Array [

  • name stringrequired

    The name of the role

    Example: Owner
    id integerrequired

    The id of the role

    Example: 4
    type stringrequired

    The type of the role

    Possible values: [custom, project]

    Example: project
  • ]

Loading...