diff --git a/.changeset/sharp-deers-leave.md b/.changeset/sharp-deers-leave.md new file mode 100644 index 0000000000000..2d66a217334b3 --- /dev/null +++ b/.changeset/sharp-deers-leave.md @@ -0,0 +1,6 @@ +--- +'@graphql-mesh/plugin-prometheus': minor +'@graphql-mesh/types': minor +--- + +Now you can customize the names of the metrics diff --git a/examples/openapi-orbit/tests/__snapshots__/orbit.test.js.snap b/examples/openapi-orbit/tests/__snapshots__/orbit.test.js.snap index 9a6a35024d3ae..fd7f1354b4654 100644 --- a/examples/openapi-orbit/tests/__snapshots__/orbit.test.js.snap +++ b/examples/openapi-orbit/tests/__snapshots__/orbit.test.js.snap @@ -157,7 +157,7 @@ type Query @globalOptions(sourceName: "Orbit", endpoint: "https://app.orbit.love workspaces_by_workspace_slug(workspace_slug: String!): workspaces_by_workspace_slug_200_response @httpOperation(path: "/workspaces/{args.workspace_slug}", operationSpecificHeaders: "{\\"accept\\":\\"application/json\\"}", httpMethod: GET) } -type user_200_response @example(value: "{\\"data\\":{\\"id\\":\\"O4NFxZ\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"VioletaWill\\",\\"updated_at\\":\\"2023-02-06T23:24:56.021Z\\",\\"created_at\\":\\"2023-02-06T23:24:56.021Z\\",\\"email\\":\\"emory.green@cronin.info\\"}}}") { +type user_200_response @example(value: "{\\"data\\":{\\"id\\":\\"O4NFxZ\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"MelHagenesDDS\\",\\"updated_at\\":\\"2023-02-08T12:13:55.509Z\\",\\"created_at\\":\\"2023-02-08T12:13:55.509Z\\",\\"email\\":\\"maria@lang.co\\"}}}") { data: query_user_data } @@ -180,7 +180,7 @@ scalar DateTime "A field whose value conforms to the standard internet email address format as specified in RFC822: https://www.w3.org/Protocols/rfc822/." scalar EmailAddress @specifiedBy(url: "https://www.w3.org/Protocols/rfc822/") -type workspace_slug_activities_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"63rsLp\\",\\"type\\":\\"issue_activity\\",\\"attributes\\":{\\"action\\":\\"opened\\",\\"created_at\\":\\"2023-02-06T23:24:56.795Z\\",\\"key\\":\\"sammieschamberger/charline#4\\",\\"occurred_at\\":\\"2023-02-06T23:24:56.790Z\\",\\"updated_at\\":\\"2023-02-06T23:24:56.795Z\\",\\"type\\":\\"IssueActivity\\",\\"properties\\":{\\"github_issue\\":\\"sammieschamberger/charline/#4\\",\\"github_repository\\":\\"sammieschamberger/charline\\",\\"github_organization\\":\\"sammieschamberger\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:sammieschamberger\\",\\"github_repository:sammieschamberger/charline\\",\\"github_issue:sammieschamberger/charline/#4\\"],\\"orbit_url\\":\\"http://localhost:3000/jonasglover/activities/63rsLp\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/\\",\\"g_title\\":\\"Cool issue title!\\",\\"g_number\\":4,\\"g_html_url\\":\\"https://github.com/\\",\\"g_created_at\\":\\"2023-02-07T00:24:56.790+01:00\\",\\"is_pull_request\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"la4sVD\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"jP8TMj\\",\\"type\\":\\"repository\\"}}}},{\\"id\\":\\"V5YsvV\\",\\"type\\":\\"pull_request_activity\\",\\"attributes\\":{\\"action\\":\\"opened\\",\\"created_at\\":\\"2023-02-06T23:24:56.725Z\\",\\"key\\":\\"clairgislason/mirnaherzog#6\\",\\"occurred_at\\":\\"2023-02-06T23:24:56.713Z\\",\\"updated_at\\":\\"2023-02-06T23:24:56.725Z\\",\\"type\\":\\"PullRequestActivity\\",\\"properties\\":{\\"github_repository\\":\\"clairgislason/mirnaherzog\\",\\"github_organization\\":\\"clairgislason\\",\\"github_pull_request\\":\\"clairgislason/mirnaherzog/#6\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:clairgislason\\",\\"github_repository:clairgislason/mirnaherzog\\",\\"github_pull_request:clairgislason/mirnaherzog/#6\\"],\\"orbit_url\\":\\"http://localhost:3000/jonasglover/activities/V5YsvV\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/\\",\\"g_title\\":\\"Cool PR title!\\",\\"g_number\\":6,\\"g_html_url\\":\\"https://github.com/\\",\\"g_created_at\\":\\"2023-02-07T00:24:56.713+01:00\\",\\"is_pull_request\\":null,\\"g_merged\\":true,\\"g_merged_at\\":null,\\"g_merged_by\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"lnrs0l\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"6l3Tz9\\",\\"type\\":\\"repository\\"}}}},{\\"id\\":\\"6a4sBp\\",\\"type\\":\\"spec_activity\\",\\"attributes\\":{\\"action\\":\\"spec_action\\",\\"created_at\\":\\"2023-02-06T23:24:56.610Z\\",\\"key\\":\\"clé\\",\\"occurred_at\\":\\"2023-02-06T23:24:56.608Z\\",\\"updated_at\\":\\"2023-02-06T23:24:56.610Z\\",\\"type\\":\\"SpecActivity\\",\\"properties\\":{\\"prop_1\\":\\"value_1\\",\\"prop_2\\":\\"value_2\\"},\\"tags\\":[\\"spec-tag-1\\",\\"spec-tag-2\\"],\\"orbit_url\\":\\"http://localhost:3000/jonasglover/activities/6a4sBp\\",\\"weight\\":\\"1.0\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"D2Esq5\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"jBlTg9\\",\\"type\\":\\"repository\\"}}}}],\\"included\\":[{\\"id\\":\\"la4sVD\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Opened an issue\\",\\"short_name\\":\\"Issue opened\\",\\"key\\":\\"issues:opened\\",\\"channel\\":\\"github\\",\\"source\\":\\"github\\",\\"weight\\":\\"6.0\\"}},{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:24:56.538Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"MsVonGerlach\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"msvongerlach\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"ruby\\"],\\"tags\\":[\\"ruby\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:24:56.538Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/jonasglover/members/msvongerlach\\",\\"created\\":false,\\"id\\":\\"By3S5j\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}},{\\"id\\":\\"jP8TMj\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"careyadams\\",\\"name\\":\\"tempiegoyette\\",\\"full_name\\":\\"careyadams/tempiegoyette\\",\\"updated_at\\":\\"2023-02-06T23:24:56.788Z\\",\\"created_at\\":\\"2023-02-06T23:24:56.788Z\\"}},{\\"id\\":\\"lnrs0l\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"bless Mysource 3\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:happened:1\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"6l3Tz9\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"taneshadooley\\",\\"name\\":\\"kieshasawayn\\",\\"full_name\\":\\"taneshadooley/kieshasawayn\\",\\"updated_at\\":\\"2023-02-06T23:24:56.696Z\\",\\"created_at\\":\\"2023-02-06T23:24:56.696Z\\"}},{\\"id\\":\\"D2Esq5\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"contrast Mysource 2\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec_activity_type_key\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"jBlTg9\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"lashaynicolas\\",\\"name\\":\\"dimple\\",\\"full_name\\":\\"orbit-love/orbit-model\\",\\"updated_at\\":\\"2023-02-06T23:24:56.574Z\\",\\"created_at\\":\\"2023-02-06T23:24:56.574Z\\"}}],\\"links\\":{\\"first\\":\\"http://localhost:3000/api/v1/jonasglover/activities?activity_type=&affiliation=&cities%5B%5D=&company%5B%5D=&countries%5B%5D=&direction=DESC&end_date=&filters=true&identity=&items=10&member_tags=&orbit=&page=1®ions%5B%5D=&relative=&sort=occurred_at&start_date=&title%5B%5D=&workspace=jonasglover\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_activities_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"63rsLp\\",\\"type\\":\\"issue_activity\\",\\"attributes\\":{\\"action\\":\\"opened\\",\\"created_at\\":\\"2023-02-08T12:13:56.110Z\\",\\"key\\":\\"omar/trinaskiles#58\\",\\"occurred_at\\":\\"2023-02-08T12:13:56.106Z\\",\\"updated_at\\":\\"2023-02-08T12:13:56.110Z\\",\\"type\\":\\"IssueActivity\\",\\"properties\\":{\\"github_issue\\":\\"omar/trinaskiles/#58\\",\\"github_repository\\":\\"omar/trinaskiles\\",\\"github_organization\\":\\"omar\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:omar\\",\\"github_repository:omar/trinaskiles\\",\\"github_issue:omar/trinaskiles/#58\\"],\\"orbit_url\\":\\"http://localhost:3000/missrorybosco/activities/63rsLp\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/\\",\\"g_title\\":\\"Cool issue title!\\",\\"g_number\\":58,\\"g_html_url\\":\\"https://github.com/\\",\\"g_created_at\\":\\"2023-02-08T13:13:56.106+01:00\\",\\"is_pull_request\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"la4sVD\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"jP8TMj\\",\\"type\\":\\"repository\\"}}}},{\\"id\\":\\"V5YsvV\\",\\"type\\":\\"pull_request_activity\\",\\"attributes\\":{\\"action\\":\\"opened\\",\\"created_at\\":\\"2023-02-08T12:13:56.054Z\\",\\"key\\":\\"hong/guy#68\\",\\"occurred_at\\":\\"2023-02-08T12:13:56.047Z\\",\\"updated_at\\":\\"2023-02-08T12:13:56.054Z\\",\\"type\\":\\"PullRequestActivity\\",\\"properties\\":{\\"github_repository\\":\\"hong/guy\\",\\"github_organization\\":\\"hong\\",\\"github_pull_request\\":\\"hong/guy/#68\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:hong\\",\\"github_repository:hong/guy\\",\\"github_pull_request:hong/guy/#68\\"],\\"orbit_url\\":\\"http://localhost:3000/missrorybosco/activities/V5YsvV\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/\\",\\"g_title\\":\\"Cool PR title!\\",\\"g_number\\":68,\\"g_html_url\\":\\"https://github.com/\\",\\"g_created_at\\":\\"2023-02-08T13:13:56.047+01:00\\",\\"is_pull_request\\":null,\\"g_merged\\":true,\\"g_merged_at\\":null,\\"g_merged_by\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"lnrs0l\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"6l3Tz9\\",\\"type\\":\\"repository\\"}}}},{\\"id\\":\\"6a4sBp\\",\\"type\\":\\"spec_activity\\",\\"attributes\\":{\\"action\\":\\"spec_action\\",\\"created_at\\":\\"2023-02-08T12:13:55.980Z\\",\\"key\\":\\"clé\\",\\"occurred_at\\":\\"2023-02-08T12:13:55.979Z\\",\\"updated_at\\":\\"2023-02-08T12:13:55.980Z\\",\\"type\\":\\"SpecActivity\\",\\"properties\\":{\\"prop_1\\":\\"value_1\\",\\"prop_2\\":\\"value_2\\"},\\"tags\\":[\\"spec-tag-1\\",\\"spec-tag-2\\"],\\"orbit_url\\":\\"http://localhost:3000/missrorybosco/activities/6a4sBp\\",\\"weight\\":\\"1.0\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"D2Esq5\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"jBlTg9\\",\\"type\\":\\"repository\\"}}}}],\\"included\\":[{\\"id\\":\\"la4sVD\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Opened an issue\\",\\"short_name\\":\\"Issue opened\\",\\"key\\":\\"issues:opened\\",\\"channel\\":\\"github\\",\\"source\\":\\"github\\",\\"weight\\":\\"6.0\\"}},{\\"id\\":\\"By3S5j\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:13:55.937Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"MissMackenzieWyman\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"missmackenziewyman\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"ruby\\"],\\"tags\\":[\\"ruby\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:13:55.937Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/missrorybosco/members/missmackenziewyman\\",\\"created\\":false,\\"id\\":\\"By3S5j\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[]}}},{\\"id\\":\\"jP8TMj\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"keith\\",\\"name\\":\\"shirleyboehm\\",\\"full_name\\":\\"keith/shirleyboehm\\",\\"updated_at\\":\\"2023-02-08T12:13:56.104Z\\",\\"created_at\\":\\"2023-02-08T12:13:56.104Z\\"}},{\\"id\\":\\"lnrs0l\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"present Mysource 3\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:happened:1\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"6l3Tz9\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"amandaschaefer\\",\\"name\\":\\"tajuana\\",\\"full_name\\":\\"amandaschaefer/tajuana\\",\\"updated_at\\":\\"2023-02-08T12:13:56.037Z\\",\\"created_at\\":\\"2023-02-08T12:13:56.037Z\\"}},{\\"id\\":\\"D2Esq5\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"conspire Mysource 2\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec_activity_type_key\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"jBlTg9\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"jillianbins\\",\\"name\\":\\"terencedietrich\\",\\"full_name\\":\\"orbit-love/orbit-model\\",\\"updated_at\\":\\"2023-02-08T12:13:55.961Z\\",\\"created_at\\":\\"2023-02-08T12:13:55.961Z\\"}}],\\"links\\":{\\"first\\":\\"http://localhost:3000/api/v1/missrorybosco/activities?activity_type=&affiliation=&cities%5B%5D=&company%5B%5D=&countries%5B%5D=&direction=DESC&end_date=&filters=true&identity=&items=10&member_tags=&orbit=&page=1®ions%5B%5D=&relative=&sort=occurred_at&start_date=&title%5B%5D=&workspace=missrorybosco\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_activities_data_items] included: [query_workspace_slug_activities_included_items] links: query_workspace_slug_activities_links @@ -288,25 +288,25 @@ enum queryInput_workspace_slug_activities_activity_type { tweet_sent @enum(value: "\\"tweet:sent\\"") twitter_followed @enum(value: "\\"twitter:followed\\"") dev_comment @enum(value: "\\"dev:comment\\"") - insided_article_created @enum(value: "\\"insided:article:created\\"") - custom_happened @enum(value: "\\"custom:happened\\"") discourse_topic_created @enum(value: "\\"discourse:topic:created\\"") - insided_conversation_started @enum(value: "\\"insided:conversation:started\\"") + custom_happened @enum(value: "\\"custom:happened\\"") insided_article_replied @enum(value: "\\"insided:article:replied\\"") - insided_idea_submitted @enum(value: "\\"insided:idea:submitted\\"") + insided_article_created @enum(value: "\\"insided:article:created\\"") insided_conversation_replied @enum(value: "\\"insided:conversation:replied\\"") + insided_conversation_started @enum(value: "\\"insided:conversation:started\\"") + insided_idea_replied @enum(value: "\\"insided:idea:replied\\"") insided_question_asked @enum(value: "\\"insided:question:asked\\"") insided_question_replied @enum(value: "\\"insided:question:replied\\"") - reddit_comment @enum(value: "\\"reddit:comment\\"") - reddit_post @enum(value: "\\"reddit:post\\"") discourse_post_created @enum(value: "\\"discourse:post:created\\"") discourse_post_liked @enum(value: "\\"discourse:post:liked\\"") discourse_user_created @enum(value: "\\"discourse:user:created\\"") - stackoverflow_answer @enum(value: "\\"stackoverflow:answer\\"") - insided_idea_replied @enum(value: "\\"insided:idea:replied\\"") + reddit_comment @enum(value: "\\"reddit:comment\\"") + reddit_post @enum(value: "\\"reddit:post\\"") + insided_idea_submitted @enum(value: "\\"insided:idea:submitted\\"") + stackoverflow_question @enum(value: "\\"stackoverflow:question\\"") youtube_comment @enum(value: "\\"youtube:comment\\"") linkedin_comment @enum(value: "\\"linkedin:comment\\"") - stackoverflow_question @enum(value: "\\"stackoverflow:question\\"") + stackoverflow_answer @enum(value: "\\"stackoverflow:answer\\"") slack_message_sent @enum(value: "\\"slack:message:sent\\"") slack_thread_replied @enum(value: "\\"slack:thread:replied\\"") slack_channel_joined @enum(value: "\\"slack:channel:joined\\"") @@ -354,7 +354,7 @@ enum queryInput_workspace_slug_activities_sort { member } -type workspace_slug_activities_by_id_200_response @example(value: "{\\"data\\":{\\"id\\":\\"ZPosjV\\",\\"type\\":\\"spec_activity\\",\\"attributes\\":{\\"action\\":\\"spec_action\\",\\"created_at\\":\\"2023-02-06T23:24:59.746Z\\",\\"key\\":\\"clé\\",\\"occurred_at\\":\\"2023-02-06T23:24:59.738Z\\",\\"updated_at\\":\\"2023-02-06T23:24:59.746Z\\",\\"type\\":\\"SpecActivity\\",\\"properties\\":{\\"prop_1\\":\\"value_1\\",\\"prop_2\\":\\"value_2\\"},\\"tags\\":[\\"spec-tag-1\\",\\"spec-tag-2\\"],\\"orbit_url\\":\\"http://localhost:3000/cameronheathcote/activities/ZPosjV\\",\\"weight\\":\\"1.0\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"D3jsky\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"rmMSRr\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"9ABTo6\\",\\"type\\":\\"repository\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"Zw6Fa3\\",\\"type\\":\\"user\\"}}}},\\"included\\":[{\\"id\\":\\"D3jsky\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"fizz Mysource 29\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:happened:9\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"rmMSRr\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:24:59.743Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"JudiLemke\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"judilemke\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:24:59.743Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/cameronheathcote/members/judilemke\\",\\"created\\":false,\\"id\\":\\"rmMSRr\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}},{\\"id\\":\\"9ABTo6\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"angelojohnson\\",\\"name\\":\\"alethia\\",\\"full_name\\":\\"angelojohnson/alethia\\",\\"updated_at\\":\\"2023-02-06T23:24:59.698Z\\",\\"created_at\\":\\"2023-02-06T23:24:59.698Z\\"}},{\\"id\\":\\"Zw6Fa3\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"DrAsleyRobel\\",\\"updated_at\\":\\"2023-02-06T23:24:59.674Z\\",\\"created_at\\":\\"2023-02-06T23:24:59.667Z\\"}}]}") { +type workspace_slug_activities_by_id_200_response @example(value: "{\\"data\\":{\\"id\\":\\"ZPosjV\\",\\"type\\":\\"spec_activity\\",\\"attributes\\":{\\"action\\":\\"spec_action\\",\\"created_at\\":\\"2023-02-08T12:13:58.331Z\\",\\"key\\":\\"clé\\",\\"occurred_at\\":\\"2023-02-08T12:13:58.323Z\\",\\"updated_at\\":\\"2023-02-08T12:13:58.331Z\\",\\"type\\":\\"SpecActivity\\",\\"properties\\":{\\"prop_1\\":\\"value_1\\",\\"prop_2\\":\\"value_2\\"},\\"tags\\":[\\"spec-tag-1\\",\\"spec-tag-2\\"],\\"orbit_url\\":\\"http://localhost:3000/rosegraham/activities/ZPosjV\\",\\"weight\\":\\"1.0\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"D3jsky\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"rmMSRr\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"9ABTo6\\",\\"type\\":\\"repository\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"Zw6Fa3\\",\\"type\\":\\"user\\"}}}},\\"included\\":[{\\"id\\":\\"D3jsky\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"hoax Mysource 29\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:happened:9\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"rmMSRr\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:13:58.329Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"BradleyTerry\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"bradleyterry\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:13:58.329Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/rosegraham/members/bradleyterry\\",\\"created\\":false,\\"id\\":\\"rmMSRr\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[]}}},{\\"id\\":\\"9ABTo6\\",\\"type\\":\\"repository\\",\\"attributes\\":{\\"owner\\":\\"soon\\",\\"name\\":\\"je\\",\\"full_name\\":\\"soon/je\\",\\"updated_at\\":\\"2023-02-08T12:13:58.287Z\\",\\"created_at\\":\\"2023-02-08T12:13:58.287Z\\"}},{\\"id\\":\\"Zw6Fa3\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"YanBartonMD\\",\\"updated_at\\":\\"2023-02-08T12:13:58.266Z\\",\\"created_at\\":\\"2023-02-08T12:13:58.260Z\\"}}]}") { data: query_workspace_slug_activities_by_id_data included: [query_workspace_slug_activities_by_id_included_items] } @@ -442,7 +442,7 @@ type query_workspace_slug_activities_by_id_included_items_attributes { weight: String } -type workspace_slug_activity_types_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"5Gds1O\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Created content\\",\\"short_name\\":\\"Content created\\",\\"key\\":\\"post:created\\",\\"channel\\":\\"content\\",\\"source\\":\\"content\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"DOnsmL\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Activated their account on product\\",\\"short_name\\":\\"Activated account\\",\\"key\\":\\"activated_account\\",\\"channel\\":\\"product\\",\\"source\\":\\"product\\",\\"weight\\":\\"6.0\\"}}],\\"links\\":{\\"first\\":\\"/mrshowardrussel/activity_types?page=1\\",\\"last\\":\\"/mrshowardrussel/activity_types?page=1\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_activity_types_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"5Gds1O\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Created content\\",\\"short_name\\":\\"Content created\\",\\"key\\":\\"post:created\\",\\"channel\\":\\"content\\",\\"source\\":\\"content\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"DOnsmL\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Activated their account on product\\",\\"short_name\\":\\"Activated account\\",\\"key\\":\\"activated_account\\",\\"channel\\":\\"product\\",\\"source\\":\\"product\\",\\"weight\\":\\"6.0\\"}}],\\"links\\":{\\"first\\":\\"/luigiwiegand/activity_types?page=1\\",\\"last\\":\\"/luigiwiegand/activity_types?page=1\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_activity_types_data_items] links: query_workspace_slug_activity_types_links } @@ -469,7 +469,7 @@ type query_workspace_slug_activity_types_links { next: Void } -type workspace_slug_members_by_member_slug_activities_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"VlEsOe\\",\\"type\\":\\"spec_activity\\",\\"attributes\\":{\\"action\\":\\"spec_action\\",\\"created_at\\":\\"2023-02-06T23:25:05.170Z\\",\\"key\\":\\"clé\\",\\"occurred_at\\":\\"2023-02-06T23:25:05.168Z\\",\\"updated_at\\":\\"2023-02-06T23:25:05.170Z\\",\\"type\\":\\"SpecActivity\\",\\"properties\\":{\\"prop_1\\":\\"value_1\\",\\"prop_2\\":\\"value_2\\"},\\"tags\\":[\\"spec-tag-1\\",\\"spec-tag-2\\"],\\"orbit_url\\":\\"http://localhost:3000/demarcuswiegand/activities/VlEsOe\\",\\"weight\\":\\"1.0\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"oQQsBb\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"BloSvr\\",\\"type\\":\\"member\\"}}}}],\\"included\\":[{\\"id\\":\\"oQQsBb\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"grant Mysource 34\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:activity\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"BloSvr\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:05.076Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"ErmelindaHand\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"ermelindahand\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:05.076Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/demarcuswiegand/members/ermelindahand\\",\\"created\\":false,\\"id\\":\\"BloSvr\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}}],\\"links\\":{\\"first\\":\\"/demarcuswiegand/members/ermelindahand/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=spec%3Aactivity&type=\\",\\"last\\":\\"/demarcuswiegand/members/ermelindahand/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=spec%3Aactivity&type=\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_members_by_member_slug_activities_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"VlEsOe\\",\\"type\\":\\"spec_activity\\",\\"attributes\\":{\\"action\\":\\"spec_action\\",\\"created_at\\":\\"2023-02-08T12:14:02.147Z\\",\\"key\\":\\"clé\\",\\"occurred_at\\":\\"2023-02-08T12:14:02.145Z\\",\\"updated_at\\":\\"2023-02-08T12:14:02.147Z\\",\\"type\\":\\"SpecActivity\\",\\"properties\\":{\\"prop_1\\":\\"value_1\\",\\"prop_2\\":\\"value_2\\"},\\"tags\\":[\\"spec-tag-1\\",\\"spec-tag-2\\"],\\"orbit_url\\":\\"http://localhost:3000/zelmahartmannv/activities/VlEsOe\\",\\"weight\\":\\"1.0\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"oQQsBb\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"BloSvr\\",\\"type\\":\\"member\\"}}}}],\\"included\\":[{\\"id\\":\\"oQQsBb\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"choose Mysource 34\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:activity\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"BloSvr\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:02.085Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"MissRandyHuel\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"missrandyhuel\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:02.085Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/zelmahartmannv/members/missrandyhuel\\",\\"created\\":false,\\"id\\":\\"BloSvr\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[]}}}],\\"links\\":{\\"first\\":\\"/zelmahartmannv/members/missrandyhuel/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=spec%3Aactivity&type=\\",\\"last\\":\\"/zelmahartmannv/members/missrandyhuel/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=spec%3Aactivity&type=\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_members_by_member_slug_activities_data_items] included: [query_workspace_slug_members_by_member_slug_activities_included_items] links: query_workspace_slug_members_by_member_slug_activities_links @@ -561,7 +561,7 @@ enum queryInput_workspace_slug_members_by_member_slug_activities_sort { member } -type workspace_slug_members_by_member_slug_notes_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"o5Nf2J\\",\\"type\\":\\"note\\",\\"attributes\\":{\\"id\\":\\"o5Nf2J\\",\\"created_at\\":\\"2023-02-06T23:25:09.964Z\\",\\"body\\":\\"heyo\\",\\"updated_at\\":\\"2023-02-06T23:25:09.964Z\\"},\\"relationships\\":{\\"member\\":{\\"data\\":{\\"id\\":\\"jPESm8\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"DdQF6V\\",\\"type\\":\\"user\\"}}}}],\\"included\\":[{\\"id\\":\\"jPESm8\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:09.942Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"ShaneCole\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"shanecole\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:09.942Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/felixschamberger/members/shanecole\\",\\"created\\":false,\\"id\\":\\"jPESm8\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}},{\\"id\\":\\"DdQF6V\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"DrSandyBlanda\\",\\"updated_at\\":\\"2023-02-06T23:25:09.961Z\\",\\"created_at\\":\\"2023-02-06T23:25:09.954Z\\"}}],\\"links\\":{\\"first\\":\\"/felixschamberger/members/shanecole/notes?page=1\\",\\"last\\":\\"/felixschamberger/members/shanecole/notes?page=1\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_members_by_member_slug_notes_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"o5Nf2J\\",\\"type\\":\\"note\\",\\"attributes\\":{\\"id\\":\\"o5Nf2J\\",\\"created_at\\":\\"2023-02-08T12:14:06.213Z\\",\\"body\\":\\"heyo\\",\\"updated_at\\":\\"2023-02-08T12:14:06.213Z\\"},\\"relationships\\":{\\"member\\":{\\"data\\":{\\"id\\":\\"jPESm8\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"DdQF6V\\",\\"type\\":\\"user\\"}}}}],\\"included\\":[{\\"id\\":\\"jPESm8\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:06.196Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"LeeHeidenreich\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"leeheidenreich\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:06.196Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/shaniquagutmann/members/leeheidenreich\\",\\"created\\":false,\\"id\\":\\"jPESm8\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[]}}},{\\"id\\":\\"DdQF6V\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"LuigiWuckert\\",\\"updated_at\\":\\"2023-02-08T12:14:06.212Z\\",\\"created_at\\":\\"2023-02-08T12:14:06.206Z\\"}}],\\"links\\":{\\"first\\":\\"/shaniquagutmann/members/leeheidenreich/notes?page=1\\",\\"last\\":\\"/shaniquagutmann/members/leeheidenreich/notes?page=1\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_members_by_member_slug_notes_data_items] included: [query_workspace_slug_members_by_member_slug_notes_included_items] links: query_workspace_slug_members_by_member_slug_notes_links @@ -660,12 +660,17 @@ scalar JSON @specifiedBy(url: "http://www.ecma-international.org/publications/fi type query_workspace_slug_members_by_member_slug_notes_included_items_relationships { identities: query_workspace_slug_members_by_member_slug_notes_included_items_relationships_identities + organizations: query_workspace_slug_members_by_member_slug_notes_included_items_relationships_organizations } type query_workspace_slug_members_by_member_slug_notes_included_items_relationships_identities { data: [JSON] } +type query_workspace_slug_members_by_member_slug_notes_included_items_relationships_organizations { + data: [JSON] +} + type query_workspace_slug_members_by_member_slug_notes_links { first: String last: String @@ -673,7 +678,7 @@ type query_workspace_slug_members_by_member_slug_notes_links { next: Void } -type workspace_slug_members_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"jaPSJy\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:10.512Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Sally\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"sally\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"ruby\\"],\\"tags\\":[\\"ruby\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:10.521Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/elvisortiz/members/sally\\",\\"created\\":false,\\"id\\":\\"jaPSJy\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":\\"2023-02-04T23:25:10.635Z\\",\\"last_activity_occurred_at\\":\\"2023-02-06T22:25:10.671Z\\",\\"activities_count\\":2,\\"activities_score\\":2,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"5geTxn\\",\\"type\\":\\"spec_identity\\"}]}}},{\\"id\\":\\"4EzSdZ\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:10.491Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Josh\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"josh\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"ruby\\"],\\"tags\\":[\\"ruby\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:10.500Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/elvisortiz/members/josh\\",\\"created\\":false,\\"id\\":\\"4EzSdZ\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":\\"2023-01-29T23:25:10.603Z\\",\\"last_activity_occurred_at\\":\\"2023-02-02T23:25:10.528Z\\",\\"activities_count\\":3,\\"activities_score\\":3,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"nbWTe1\\",\\"type\\":\\"spec_identity\\"}]}}}],\\"included\\":[{\\"id\\":\\"43\\",\\"type\\":\\"spec_identity\\"},{\\"id\\":\\"42\\",\\"type\\":\\"spec_identity\\"}],\\"links\\":{\\"first\\":\\"http://localhost:3000/api/v1/elvisortiz/members?activities_count_max=99&activities_count_min=1&activity_type=type%3Anew%2Cspec%3Aactivity&affiliation=&cities%5B%5D=&company%5B%5D=&countries%5B%5D=&direction=DESC&end_date=&identity=&items=10&member_tags=ruby%7Crails%2C-go&orbit=&page=1&query=®ions%5B%5D=&relative=&sort=last_activity&start_date=&title%5B%5D=&workspace=elvisortiz\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_members_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"jaPSJy\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:06.631Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Sally\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"sally\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"ruby\\"],\\"tags\\":[\\"ruby\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:06.641Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/misssergiooconnell/members/sally\\",\\"created\\":false,\\"id\\":\\"jaPSJy\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":\\"2023-02-06T12:14:06.730Z\\",\\"last_activity_occurred_at\\":\\"2023-02-08T11:14:06.754Z\\",\\"activities_count\\":2,\\"activities_score\\":2,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"5geTxn\\",\\"type\\":\\"spec_identity\\"}]},\\"organizations\\":{\\"data\\":[{\\"id\\":\\"aXwFQn\\",\\"type\\":\\"organization\\"}]}}},{\\"id\\":\\"4EzSdZ\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:06.616Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Josh\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"josh\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"ruby\\"],\\"tags\\":[\\"ruby\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:06.624Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/misssergiooconnell/members/josh\\",\\"created\\":false,\\"id\\":\\"4EzSdZ\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":\\"2023-01-31T12:14:06.708Z\\",\\"last_activity_occurred_at\\":\\"2023-02-04T12:14:06.649Z\\",\\"activities_count\\":3,\\"activities_score\\":3,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"nbWTe1\\",\\"type\\":\\"spec_identity\\"}]},\\"organizations\\":{\\"data\\":[]}}}],\\"included\\":[{\\"id\\":\\"43\\",\\"type\\":\\"spec_identity\\"},{\\"id\\":\\"aXwFQn\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"aXwFQn\\",\\"name\\":\\"JonellLockman\\",\\"website\\":\\"https://example-1.com\\",\\"members_count\\":4,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-08T12:14:06.809Z\\",\\"updated_at\\":\\"2023-02-08T12:14:06.809Z\\",\\"lifecycle_stage\\":null,\\"deal_closed_date\\":null,\\"price_plan\\":null,\\"crm_uid\\":null,\\"crm_url\\":null,\\"owner_name\\":null,\\"owner_email\\":null,\\"source\\":null}},{\\"id\\":\\"42\\",\\"type\\":\\"spec_identity\\"}],\\"links\\":{\\"first\\":\\"http://localhost:3000/api/v1/misssergiooconnell/members?activities_count_max=99&activities_count_min=1&activity_type=type%3Anew%2Cspec%3Aactivity&affiliation=&cities%5B%5D=&company%5B%5D=&countries%5B%5D=&direction=DESC&end_date=&identity=&items=10&member_tags=ruby%7Crails%2C-go&orbit=&page=1&query=®ions%5B%5D=&relative=&sort=last_activity&start_date=&title%5B%5D=&workspace=misssergiooconnell\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_members_data_items] included: [query_workspace_slug_members_included_items] links: query_workspace_slug_members_links @@ -732,6 +737,7 @@ type query_workspace_slug_members_data_items_attributes { type query_workspace_slug_members_data_items_relationships { identities: query_workspace_slug_members_data_items_relationships_identities + organizations: query_workspace_slug_members_data_items_relationships_organizations } type query_workspace_slug_members_data_items_relationships_identities { @@ -743,6 +749,15 @@ type query_workspace_slug_members_data_items_relationships_identities_data_items type: String } +type query_workspace_slug_members_data_items_relationships_organizations { + data: [query_workspace_slug_members_data_items_relationships_organizations_data_items] +} + +type query_workspace_slug_members_data_items_relationships_organizations_data_items { + id: String + type: String +} + type query_workspace_slug_members_included_items { id: String type: String @@ -764,25 +779,25 @@ enum queryInput_workspace_slug_members_activity_type { tweet_sent @enum(value: "\\"tweet:sent\\"") twitter_followed @enum(value: "\\"twitter:followed\\"") dev_comment @enum(value: "\\"dev:comment\\"") - insided_article_created @enum(value: "\\"insided:article:created\\"") - custom_happened @enum(value: "\\"custom:happened\\"") discourse_topic_created @enum(value: "\\"discourse:topic:created\\"") - insided_conversation_started @enum(value: "\\"insided:conversation:started\\"") + custom_happened @enum(value: "\\"custom:happened\\"") insided_article_replied @enum(value: "\\"insided:article:replied\\"") - insided_idea_submitted @enum(value: "\\"insided:idea:submitted\\"") + insided_article_created @enum(value: "\\"insided:article:created\\"") insided_conversation_replied @enum(value: "\\"insided:conversation:replied\\"") + insided_conversation_started @enum(value: "\\"insided:conversation:started\\"") + insided_idea_replied @enum(value: "\\"insided:idea:replied\\"") insided_question_asked @enum(value: "\\"insided:question:asked\\"") insided_question_replied @enum(value: "\\"insided:question:replied\\"") - reddit_comment @enum(value: "\\"reddit:comment\\"") - reddit_post @enum(value: "\\"reddit:post\\"") discourse_post_created @enum(value: "\\"discourse:post:created\\"") discourse_post_liked @enum(value: "\\"discourse:post:liked\\"") discourse_user_created @enum(value: "\\"discourse:user:created\\"") - stackoverflow_answer @enum(value: "\\"stackoverflow:answer\\"") - insided_idea_replied @enum(value: "\\"insided:idea:replied\\"") + reddit_comment @enum(value: "\\"reddit:comment\\"") + reddit_post @enum(value: "\\"reddit:post\\"") + insided_idea_submitted @enum(value: "\\"insided:idea:submitted\\"") + stackoverflow_question @enum(value: "\\"stackoverflow:question\\"") youtube_comment @enum(value: "\\"youtube:comment\\"") linkedin_comment @enum(value: "\\"linkedin:comment\\"") - stackoverflow_question @enum(value: "\\"stackoverflow:question\\"") + stackoverflow_answer @enum(value: "\\"stackoverflow:answer\\"") slack_message_sent @enum(value: "\\"slack:message:sent\\"") slack_thread_replied @enum(value: "\\"slack:thread:replied\\"") slack_channel_joined @enum(value: "\\"slack:channel:joined\\"") @@ -843,7 +858,7 @@ enum queryInput_workspace_slug_members_sort { updated_at } -type workspace_slug_members_by_member_slug_200_response @example(value: "{\\"data\\":{\\"id\\":\\"jWXSAW\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:17.742Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Josh\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"josh\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:17.742Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/charlsiemaggio/members/josh\\",\\"created\\":false,\\"id\\":\\"jWXSAW\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"nZRTEE\\",\\"type\\":\\"spec_identity\\"}]}}},\\"included\\":[{\\"id\\":\\"90\\",\\"type\\":\\"spec_identity\\"}]}") { +type workspace_slug_members_by_member_slug_200_response @example(value: "{\\"data\\":{\\"id\\":\\"jWXSAW\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:12.392Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Josh\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"josh\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:12.392Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/deonpowlowski/members/josh\\",\\"created\\":false,\\"id\\":\\"jWXSAW\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"nZRTEE\\",\\"type\\":\\"spec_identity\\"}]},\\"organizations\\":{\\"data\\":[{\\"id\\":\\"VMGFxn\\",\\"type\\":\\"organization\\"}]}}},\\"included\\":[{\\"id\\":\\"90\\",\\"type\\":\\"spec_identity\\"},{\\"id\\":\\"VMGFxn\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"VMGFxn\\",\\"name\\":\\"KeliBergstrom\\",\\"website\\":\\"https://example-25.com\\",\\"members_count\\":2,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-08T12:14:12.403Z\\",\\"updated_at\\":\\"2023-02-08T12:14:12.403Z\\",\\"lifecycle_stage\\":null,\\"deal_closed_date\\":null,\\"price_plan\\":null,\\"crm_uid\\":null,\\"crm_url\\":null,\\"owner_name\\":null,\\"owner_email\\":null,\\"source\\":null}}]}") { data: query_workspace_slug_members_by_member_slug_data included: [query_workspace_slug_members_by_member_slug_included_items] } @@ -901,6 +916,7 @@ type query_workspace_slug_members_by_member_slug_data_attributes { type query_workspace_slug_members_by_member_slug_data_relationships { identities: query_workspace_slug_members_by_member_slug_data_relationships_identities + organizations: query_workspace_slug_members_by_member_slug_data_relationships_organizations } type query_workspace_slug_members_by_member_slug_data_relationships_identities { @@ -912,6 +928,15 @@ type query_workspace_slug_members_by_member_slug_data_relationships_identities_d type: String } +type query_workspace_slug_members_by_member_slug_data_relationships_organizations { + data: [query_workspace_slug_members_by_member_slug_data_relationships_organizations_data_items] +} + +type query_workspace_slug_members_by_member_slug_data_relationships_organizations_data_items { + id: String + type: String +} + type query_workspace_slug_members_by_member_slug_included_items { id: String type: String @@ -919,7 +944,7 @@ type query_workspace_slug_members_by_member_slug_included_items { union workspace_slug_members_find_response @statusCodeTypeName(statusCode: 200, typeName: "workspace_slug_members_find_200_response") @statusCodeTypeName(statusCode: 404, typeName: "workspace_slug_members_find_404_response") = workspace_slug_members_find_200_response | workspace_slug_members_find_404_response -type workspace_slug_members_find_200_response @example(value: "{\\"data\\":{\\"id\\":\\"rRxS6X\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:31.329Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"RuebenGislason\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"ruebengislason\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:31.329Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/moisessawayn/members/ruebengislason\\",\\"created\\":false,\\"id\\":\\"rRxS6X\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":\\"dzello\\",\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"1JrTad\\",\\"type\\":\\"github_identity\\"}]}}},\\"included\\":[{\\"id\\":\\"1JrTad\\",\\"type\\":\\"github_identity\\",\\"attributes\\":{\\"uid\\":\\"uid-82\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"github\\",\\"source_host\\":\\"github.com\\"}}]}") { +type workspace_slug_members_find_200_response @example(value: "{\\"data\\":{\\"id\\":\\"rRxS6X\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:23.726Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"KoreyWill\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"koreywill\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:23.726Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/danutaoreilly/members/koreywill\\",\\"created\\":false,\\"id\\":\\"rRxS6X\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":\\"dzello\\",\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"1JrTad\\",\\"type\\":\\"github_identity\\"}]},\\"organizations\\":{\\"data\\":[]}}},\\"included\\":[{\\"id\\":\\"1JrTad\\",\\"type\\":\\"github_identity\\",\\"attributes\\":{\\"uid\\":\\"uid-82\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"github\\",\\"source_host\\":\\"github.com\\"}}]}") { data: query_workspace_slug_members_find_oneOf_0_data included: [query_workspace_slug_members_find_oneOf_0_included_items] } @@ -977,6 +1002,7 @@ type query_workspace_slug_members_find_oneOf_0_data_attributes { type query_workspace_slug_members_find_oneOf_0_data_relationships { identities: query_workspace_slug_members_find_oneOf_0_data_relationships_identities + organizations: query_workspace_slug_members_find_oneOf_0_data_relationships_organizations } type query_workspace_slug_members_find_oneOf_0_data_relationships_identities { @@ -988,6 +1014,10 @@ type query_workspace_slug_members_find_oneOf_0_data_relationships_identities_dat type: String } +type query_workspace_slug_members_find_oneOf_0_data_relationships_organizations { + data: [JSON] +} + type query_workspace_slug_members_find_oneOf_0_included_items { id: String type: String @@ -1007,7 +1037,7 @@ type workspace_slug_members_find_404_response @example(value: "{\\"errors\\":\\" errors: String } -type workspace_slug_organizations_by_organization_id_activities_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"pjLsLQ\\",\\"type\\":\\"discord_message_sent_activity\\",\\"attributes\\":{\\"action\\":\\"sent\\",\\"created_at\\":\\"2023-02-06T23:25:32.304Z\\",\\"key\\":\\"3062028174\\",\\"occurred_at\\":\\"2023-02-05T23:25:32.264Z\\",\\"updated_at\\":\\"2023-02-06T23:25:32.304Z\\",\\"type\\":\\"DiscordMessageSentActivity\\",\\"properties\\":{\\"discord_server\\":\\"Orbit-Sandbox\\",\\"discord_channel\\":\\"general\\"},\\"tags\\":[\\"channel:discord\\",\\"discord_server:Orbit Sandbox\\",\\"discord_channel:general\\"],\\"orbit_url\\":\\"http://localhost:3000/cicelykohler/activities/pjLsLQ\\",\\"weight\\":\\"0.5\\",\\"activity_link\\":\\"https://discord.com/channels/823735870825037844/823735870825037847/3062028174\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"DzaseX\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"BwNSO9\\",\\"type\\":\\"member\\"}}}},{\\"id\\":\\"6ARs9g\\",\\"type\\":\\"discord_message_sent_activity\\",\\"attributes\\":{\\"action\\":\\"sent\\",\\"created_at\\":\\"2023-02-06T23:25:32.446Z\\",\\"key\\":\\"6677803929\\",\\"occurred_at\\":\\"2023-02-04T23:25:32.418Z\\",\\"updated_at\\":\\"2023-02-06T23:25:32.446Z\\",\\"type\\":\\"DiscordMessageSentActivity\\",\\"properties\\":{\\"discord_server\\":\\"Orbit-Sandbox\\",\\"discord_channel\\":\\"general\\"},\\"tags\\":[\\"channel:discord\\",\\"discord_server:Orbit Sandbox\\",\\"discord_channel:general\\"],\\"orbit_url\\":\\"http://localhost:3000/cicelykohler/activities/6ARs9g\\",\\"weight\\":\\"0.5\\",\\"activity_link\\":\\"https://discord.com/channels/823735870825037844/823735870825037847/6677803929\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"DzaseX\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"r9nSZ9\\",\\"type\\":\\"member\\"}}}},{\\"id\\":\\"VWesGO\\",\\"type\\":\\"github_activity\\",\\"attributes\\":{\\"action\\":\\"created\\",\\"created_at\\":\\"2023-02-06T23:25:32.394Z\\",\\"key\\":\\"github_activity_key:9\\",\\"occurred_at\\":\\"2023-02-03T23:25:32.322Z\\",\\"updated_at\\":\\"2023-02-06T23:25:32.394Z\\",\\"type\\":\\"GithubActivity\\",\\"properties\\":{\\"github_repository\\":\\"lanellmacejkovic/gustavostoltenberg\\",\\"github_organization\\":\\"lanellmacejkovic\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:lanellmacejkovic\\",\\"github_repository:lanellmacejkovic/gustavostoltenberg\\"],\\"orbit_url\\":\\"http://localhost:3000/cicelykohler/activities/VWesGO\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/lanellmacejkovic/gustavostoltenberg\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"owxs43\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"BwNSO9\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"9mPTrn\\",\\"type\\":\\"repository\\"}}}}],\\"included\\":[{\\"id\\":\\"DzaseX\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Sent a message in Discord\\",\\"short_name\\":\\"Discord message\\",\\"key\\":\\"discord:message:sent\\",\\"channel\\":\\"discord\\",\\"source\\":\\"discord\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"BwNSO9\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:32.253Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"John Doe\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"john-doe\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:32.253Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/cicelykohler/members/john-doe\\",\\"created\\":false,\\"id\\":\\"BwNSO9\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}},{\\"id\\":\\"r9nSZ9\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:32.408Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Jane Smith\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"jane-smith\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:32.408Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/cicelykohler/members/jane-smith\\",\\"created\\":false,\\"id\\":\\"r9nSZ9\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}},{\\"id\\":\\"owxs43\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"coo Mysource 101\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:happened:13\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}}],\\"links\\":{\\"first\\":\\"/cicelykohler/organizations/nddFon/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=\\",\\"last\\":\\"/cicelykohler/organizations/nddFon/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_organizations_by_organization_id_activities_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"pjLsLQ\\",\\"type\\":\\"discord_message_sent_activity\\",\\"attributes\\":{\\"action\\":\\"sent\\",\\"created_at\\":\\"2023-02-08T12:14:24.405Z\\",\\"key\\":\\"8181400685\\",\\"occurred_at\\":\\"2023-02-07T12:14:24.366Z\\",\\"updated_at\\":\\"2023-02-08T12:14:24.405Z\\",\\"type\\":\\"DiscordMessageSentActivity\\",\\"properties\\":{\\"discord_server\\":\\"Orbit-Sandbox\\",\\"discord_channel\\":\\"general\\"},\\"tags\\":[\\"channel:discord\\",\\"discord_server:Orbit Sandbox\\",\\"discord_channel:general\\"],\\"orbit_url\\":\\"http://localhost:3000/isabellabahringerphd/activities/pjLsLQ\\",\\"weight\\":\\"0.5\\",\\"activity_link\\":\\"https://discord.com/channels/823735870825037844/823735870825037847/8181400685\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"DzaseX\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"BwNSO9\\",\\"type\\":\\"member\\"}}}},{\\"id\\":\\"6ARs9g\\",\\"type\\":\\"discord_message_sent_activity\\",\\"attributes\\":{\\"action\\":\\"sent\\",\\"created_at\\":\\"2023-02-08T12:14:24.500Z\\",\\"key\\":\\"1224350866\\",\\"occurred_at\\":\\"2023-02-06T12:14:24.481Z\\",\\"updated_at\\":\\"2023-02-08T12:14:24.500Z\\",\\"type\\":\\"DiscordMessageSentActivity\\",\\"properties\\":{\\"discord_server\\":\\"Orbit-Sandbox\\",\\"discord_channel\\":\\"general\\"},\\"tags\\":[\\"channel:discord\\",\\"discord_server:Orbit Sandbox\\",\\"discord_channel:general\\"],\\"orbit_url\\":\\"http://localhost:3000/isabellabahringerphd/activities/6ARs9g\\",\\"weight\\":\\"0.5\\",\\"activity_link\\":\\"https://discord.com/channels/823735870825037844/823735870825037847/1224350866\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"DzaseX\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"r9nSZ9\\",\\"type\\":\\"member\\"}}}},{\\"id\\":\\"VWesGO\\",\\"type\\":\\"github_activity\\",\\"attributes\\":{\\"action\\":\\"created\\",\\"created_at\\":\\"2023-02-08T12:14:24.464Z\\",\\"key\\":\\"github_activity_key:9\\",\\"occurred_at\\":\\"2023-02-05T12:14:24.416Z\\",\\"updated_at\\":\\"2023-02-08T12:14:24.464Z\\",\\"type\\":\\"GithubActivity\\",\\"properties\\":{\\"github_repository\\":\\"margarett/donny\\",\\"github_organization\\":\\"margarett\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:margarett\\",\\"github_repository:margarett/donny\\"],\\"orbit_url\\":\\"http://localhost:3000/isabellabahringerphd/activities/VWesGO\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/margarett/donny\\"},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"owxs43\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"BwNSO9\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"9mPTrn\\",\\"type\\":\\"repository\\"}}}}],\\"included\\":[{\\"id\\":\\"DzaseX\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Sent a message in Discord\\",\\"short_name\\":\\"Discord message\\",\\"key\\":\\"discord:message:sent\\",\\"channel\\":\\"discord\\",\\"source\\":\\"discord\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"BwNSO9\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:24.359Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"John Doe\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"john-doe\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:24.359Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/isabellabahringerphd/members/john-doe\\",\\"created\\":false,\\"id\\":\\"BwNSO9\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[{\\"id\\":\\"ao4F7b\\",\\"type\\":\\"organization\\"}]}}},{\\"id\\":\\"r9nSZ9\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:24.475Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"Jane Smith\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"jane-smith\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:24.475Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/isabellabahringerphd/members/jane-smith\\",\\"created\\":false,\\"id\\":\\"r9nSZ9\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[{\\"id\\":\\"ao4F7b\\",\\"type\\":\\"organization\\"}]}}},{\\"id\\":\\"owxs43\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"rest Mysource 101\\",\\"short_name\\":\\"Spec Channel\\",\\"key\\":\\"spec:happened:13\\",\\"channel\\":\\"mysource\\",\\"source\\":\\"mysource\\",\\"weight\\":\\"1.0\\"}}],\\"links\\":{\\"first\\":\\"/isabellabahringerphd/organizations/ao4F7b/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=\\",\\"last\\":\\"/isabellabahringerphd/organizations/ao4F7b/activities?page=1&direction=DESC&items=10&sort=occurred_at&activity_type=\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_organizations_by_organization_id_activities_data_items] included: [query_workspace_slug_organizations_by_organization_id_activities_included_items] links: query_workspace_slug_organizations_by_organization_id_activities_links @@ -1110,7 +1140,7 @@ enum queryInput_workspace_slug_organizations_by_organization_id_activities_activ twitter } -type workspace_slug_organizations_by_organization_id_members_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"jPESdn\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"id\\":\\"jPESdn\\",\\"slug\\":\\"jane-smith\\",\\"name\\":\\"Jane Smith\\",\\"last_activity_occurred_at\\":null,\\"activities_score\\":0},\\"relationships\\":{}},{\\"id\\":\\"jYbS8E\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"id\\":\\"jYbS8E\\",\\"slug\\":\\"john-doe\\",\\"name\\":\\"John Doe\\",\\"last_activity_occurred_at\\":null,\\"activities_score\\":0},\\"relationships\\":{}}],\\"links\\":{\\"first\\":\\"/kelvinohara/organizations/VN8F6n/members?page=1&items=10\\",\\"last\\":\\"/kelvinohara/organizations/VN8F6n/members?page=1&items=10\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_organizations_by_organization_id_members_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"jPESdn\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"id\\":\\"jPESdn\\",\\"slug\\":\\"jane-smith\\",\\"name\\":\\"Jane Smith\\",\\"last_activity_occurred_at\\":null,\\"activities_score\\":0},\\"relationships\\":{}},{\\"id\\":\\"jYbS8E\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"id\\":\\"jYbS8E\\",\\"slug\\":\\"john-doe\\",\\"name\\":\\"John Doe\\",\\"last_activity_occurred_at\\":null,\\"activities_score\\":0},\\"relationships\\":{}}],\\"links\\":{\\"first\\":\\"/mitchellgrimes/organizations/V02F9A/members?page=1&items=10\\",\\"last\\":\\"/mitchellgrimes/organizations/V02F9A/members?page=1&items=10\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_organizations_by_organization_id_members_data_items] links: query_workspace_slug_organizations_by_organization_id_members_links } @@ -1143,7 +1173,7 @@ enum queryInput_workspace_slug_organizations_by_organization_id_members_items { _100 @enum(value: "\\"100\\"") } -type workspace_slug_organizations_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"aXwFgQ\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"aXwFgQ\\",\\"name\\":\\"Organization2\\",\\"website\\":\\"org2.example.com\\",\\"members_count\\":1,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-06T23:25:36.005Z\\",\\"updated_at\\":\\"2023-02-06T23:25:36.005Z\\",\\"lifecycle_stage\\":null,\\"deal_closed_date\\":null,\\"price_plan\\":null,\\"crm_uid\\":null,\\"crm_url\\":null,\\"owner_name\\":null,\\"owner_email\\":null,\\"source\\":null}},{\\"id\\":\\"aE4Fpl\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"aE4Fpl\\",\\"name\\":\\"Organization1\\",\\"website\\":\\"org1.example.com\\",\\"members_count\\":1,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-06T23:25:35.998Z\\",\\"updated_at\\":\\"2023-02-06T23:25:35.998Z\\",\\"lifecycle_stage\\":\\"customer\\",\\"deal_closed_date\\":\\"2023-02-06T23:25:36.027Z\\",\\"price_plan\\":\\"Enterprise\\",\\"crm_uid\\":\\"abcde123451\\",\\"crm_url\\":\\"https://example.com/1\\",\\"owner_name\\":\\"John Toto\\",\\"owner_email\\":\\"john.toto@example.com\\",\\"source\\":\\"Fake CRM\\"}}],\\"links\\":{\\"first\\":\\"http://localhost:3000/api/v1/kathryneking/organizations?direction=DESC&items=10&page=1&query=&sort=name&workspace=kathryneking\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_organizations_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"n9WF12\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"n9WF12\\",\\"name\\":\\"Organization2\\",\\"website\\":\\"org2.example.com\\",\\"members_count\\":1,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-08T12:14:27.289Z\\",\\"updated_at\\":\\"2023-02-08T12:14:27.289Z\\",\\"lifecycle_stage\\":null,\\"deal_closed_date\\":null,\\"price_plan\\":null,\\"crm_uid\\":null,\\"crm_url\\":null,\\"owner_name\\":null,\\"owner_email\\":null,\\"source\\":null}},{\\"id\\":\\"a3mFGr\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"a3mFGr\\",\\"name\\":\\"Organization1\\",\\"website\\":\\"org1.example.com\\",\\"members_count\\":1,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-08T12:14:27.285Z\\",\\"updated_at\\":\\"2023-02-08T12:14:27.285Z\\",\\"lifecycle_stage\\":\\"customer\\",\\"deal_closed_date\\":\\"2023-02-08T12:14:27.305Z\\",\\"price_plan\\":\\"Enterprise\\",\\"crm_uid\\":\\"abcde123451\\",\\"crm_url\\":\\"https://example.com/1\\",\\"owner_name\\":\\"John Toto\\",\\"owner_email\\":\\"john.toto@example.com\\",\\"source\\":\\"Fake CRM\\"}}],\\"links\\":{\\"first\\":\\"http://localhost:3000/api/v1/alexiswill/organizations?direction=DESC&items=10&page=1&query=&sort=name&workspace=alexiswill\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_organizations_data_items] links: query_workspace_slug_organizations_links } @@ -1210,7 +1240,7 @@ enum queryInput_workspace_slug_organizations_sort { employees_count } -type workspace_slug_organizations_by_organization_id_200_response @example(value: "{\\"data\\":{\\"id\\":\\"BwGFWl\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"BwGFWl\\",\\"name\\":\\"Organization1\\",\\"website\\":\\"https://example-17.com\\",\\"members_count\\":1,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-06T23:25:36.616Z\\",\\"updated_at\\":\\"2023-02-06T23:25:36.616Z\\",\\"lifecycle_stage\\":null,\\"deal_closed_date\\":null,\\"price_plan\\":null,\\"crm_uid\\":null,\\"crm_url\\":null,\\"owner_name\\":null,\\"owner_email\\":null,\\"source\\":null}}}") { +type workspace_slug_organizations_by_organization_id_200_response @example(value: "{\\"data\\":{\\"id\\":\\"nb0FpD\\",\\"type\\":\\"organization\\",\\"attributes\\":{\\"id\\":\\"nb0FpD\\",\\"name\\":\\"Organization1\\",\\"website\\":\\"https://example-47.com\\",\\"members_count\\":1,\\"employees_count\\":0,\\"organization_type\\":null,\\"industry\\":null,\\"estimated_annual_revenue\\":null,\\"founded_in\\":null,\\"location\\":null,\\"twitter\\":null,\\"twitter_followers\\":0,\\"facebook\\":null,\\"facebook_followers\\":0,\\"linkedin\\":null,\\"crunchbase\\":null,\\"email_addresses\\":null,\\"last_active\\":null,\\"active_since\\":null,\\"created_at\\":\\"2023-02-08T12:14:27.773Z\\",\\"updated_at\\":\\"2023-02-08T12:14:27.773Z\\",\\"lifecycle_stage\\":null,\\"deal_closed_date\\":null,\\"price_plan\\":null,\\"crm_uid\\":null,\\"crm_url\\":null,\\"owner_name\\":null,\\"owner_email\\":null,\\"source\\":null}}}") { data: query_workspace_slug_organizations_by_organization_id_data } @@ -1252,7 +1282,7 @@ type query_workspace_slug_organizations_by_organization_id_data_attributes { source: Void } -type workspace_slug_reports_200_response @example(value: "{\\"data\\":{\\"id\\":\\"PEateX\\",\\"type\\":\\"statistics\\",\\"attributes\\":{\\"workspace_id\\":\\"PEateX\\",\\"timeframe\\":{\\"start_date\\":\\"2023-01-07\\",\\"end_date\\":\\"2023-02-06\\",\\"start_date_last\\":\\"2022-12-07\\",\\"end_date_last\\":\\"2023-01-06\\"},\\"overview\\":{\\"total_members_count\\":1,\\"members_on_orbit_level_1_count\\":0,\\"members_on_orbit_level_2_count\\":0,\\"members_on_orbit_level_3_count\\":0,\\"members_on_orbit_level_4_count\\":0,\\"members_on_orbit_level_none_count\\":1},\\"members\\":{\\"active_count\\":1,\\"active_delta\\":0,\\"new_count\\":1,\\"new_delta\\":0,\\"returning_count\\":0,\\"returning_delta\\":0},\\"activities\\":{\\"total_count\\":1,\\"total_delta\\":0,\\"spec:activity\\":{\\"source\\":\\"mysource\\",\\"count\\":1,\\"delta\\":0,\\"members\\":{\\"active_count\\":1,\\"active_delta\\":0,\\"new_count\\":1,\\"new_delta\\":0,\\"returning_count\\":0,\\"returning_delta\\":0}},\\"foo:activity\\":{\\"source\\":\\"mysource\\",\\"count\\":0,\\"delta\\":0,\\"members\\":{\\"active_count\\":0,\\"active_delta\\":0,\\"new_count\\":0,\\"new_delta\\":0,\\"returning_count\\":0,\\"returning_delta\\":0}}}}}}") { +type workspace_slug_reports_200_response @example(value: "{\\"data\\":{\\"id\\":\\"PEateX\\",\\"type\\":\\"statistics\\",\\"attributes\\":{\\"workspace_id\\":\\"PEateX\\",\\"timeframe\\":{\\"start_date\\":\\"2023-01-09\\",\\"end_date\\":\\"2023-02-08\\",\\"start_date_last\\":\\"2022-12-09\\",\\"end_date_last\\":\\"2023-01-08\\"},\\"overview\\":{\\"total_members_count\\":1,\\"members_on_orbit_level_1_count\\":0,\\"members_on_orbit_level_2_count\\":0,\\"members_on_orbit_level_3_count\\":0,\\"members_on_orbit_level_4_count\\":0,\\"members_on_orbit_level_none_count\\":1},\\"members\\":{\\"active_count\\":1,\\"active_delta\\":0,\\"new_count\\":1,\\"new_delta\\":0,\\"returning_count\\":0,\\"returning_delta\\":0},\\"activities\\":{\\"total_count\\":1,\\"total_delta\\":0,\\"spec:activity\\":{\\"source\\":\\"mysource\\",\\"count\\":1,\\"delta\\":0,\\"members\\":{\\"active_count\\":1,\\"active_delta\\":0,\\"new_count\\":1,\\"new_delta\\":0,\\"returning_count\\":0,\\"returning_delta\\":0}},\\"foo:activity\\":{\\"source\\":\\"mysource\\",\\"count\\":0,\\"delta\\":0,\\"members\\":{\\"active_count\\":0,\\"active_delta\\":0,\\"new_count\\":0,\\"new_delta\\":0,\\"returning_count\\":0,\\"returning_delta\\":0}}}}}}") { data: query_workspace_slug_reports_data } @@ -1337,7 +1367,7 @@ type query_workspace_slug_reports_data_attributes_activities_foo_activity_member returning_delta: Int } -type workspace_slug_webhooks_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"6qyFL6\\",\\"type\\":\\"webhook\\",\\"attributes\\":{\\"name\\":\\"My Test Webhook\\",\\"enabled\\":true,\\"updated_at\\":\\"2023-02-06T23:25:39.625Z\\",\\"created_at\\":\\"2023-02-06T23:25:39.625Z\\",\\"event_type\\":\\"activity:created\\",\\"url\\":\\"https://example.com/hook\\",\\"activity_types\\":[],\\"activity_tags\\":[],\\"member_tags\\":[],\\"activity_keywords\\":[],\\"include_teammates\\":false}}],\\"links\\":{\\"first\\":\\"/fake-workspace/webhooks?page=1\\",\\"last\\":\\"/fake-workspace/webhooks?page=1\\",\\"prev\\":null,\\"next\\":null}}") { +type workspace_slug_webhooks_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"6qyFL6\\",\\"type\\":\\"webhook\\",\\"attributes\\":{\\"name\\":\\"My Test Webhook\\",\\"enabled\\":true,\\"updated_at\\":\\"2023-02-08T12:14:30.027Z\\",\\"created_at\\":\\"2023-02-08T12:14:30.027Z\\",\\"event_type\\":\\"activity:created\\",\\"url\\":\\"https://example.com/hook\\",\\"activity_types\\":[],\\"activity_tags\\":[],\\"member_tags\\":[],\\"activity_keywords\\":[],\\"include_teammates\\":false}}],\\"links\\":{\\"first\\":\\"/fake-workspace/webhooks?page=1\\",\\"last\\":\\"/fake-workspace/webhooks?page=1\\",\\"prev\\":null,\\"next\\":null}}") { data: [query_workspace_slug_webhooks_data_items] links: query_workspace_slug_webhooks_links } @@ -1369,7 +1399,7 @@ type query_workspace_slug_webhooks_links { next: Void } -type workspace_slug_webhooks_by_id_200_response @example(value: "{\\"data\\":{\\"id\\":\\"6ZbFM6\\",\\"type\\":\\"webhook\\",\\"attributes\\":{\\"name\\":\\"My Test Webhook\\",\\"enabled\\":true,\\"updated_at\\":\\"2023-02-06T23:25:40.137Z\\",\\"created_at\\":\\"2023-02-06T23:25:40.137Z\\",\\"event_type\\":\\"activity:created\\",\\"url\\":\\"https://example.com/hook\\",\\"activity_types\\":[],\\"activity_tags\\":[],\\"member_tags\\":[],\\"activity_keywords\\":[],\\"include_teammates\\":false}}}") { +type workspace_slug_webhooks_by_id_200_response @example(value: "{\\"data\\":{\\"id\\":\\"6ZbFM6\\",\\"type\\":\\"webhook\\",\\"attributes\\":{\\"name\\":\\"My Test Webhook\\",\\"enabled\\":true,\\"updated_at\\":\\"2023-02-08T12:14:30.408Z\\",\\"created_at\\":\\"2023-02-08T12:14:30.408Z\\",\\"event_type\\":\\"activity:created\\",\\"url\\":\\"https://example.com/hook\\",\\"activity_types\\":[],\\"activity_tags\\":[],\\"member_tags\\":[],\\"activity_keywords\\":[],\\"include_teammates\\":false}}}") { data: query_workspace_slug_webhooks_by_id_data } @@ -1393,7 +1423,7 @@ type query_workspace_slug_webhooks_by_id_data_attributes { include_teammates: Boolean } -type workspaces_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"Pnkt5Z\\",\\"type\\":\\"workspace\\",\\"attributes\\":{\\"name\\":\\"Fake Workspace\\",\\"slug\\":\\"fake-workspace\\",\\"updated_at\\":\\"2023-02-06T23:25:40.905Z\\",\\"created_at\\":\\"2023-02-06T23:25:40.893Z\\"},\\"relationships\\":{\\"repositories\\":{\\"data\\":[]}}}],\\"included\\":[]}") { +type workspaces_200_response @example(value: "{\\"data\\":[{\\"id\\":\\"Pnkt5Z\\",\\"type\\":\\"workspace\\",\\"attributes\\":{\\"name\\":\\"Fake Workspace\\",\\"slug\\":\\"fake-workspace\\",\\"updated_at\\":\\"2023-02-08T12:14:30.930Z\\",\\"created_at\\":\\"2023-02-08T12:14:30.923Z\\"},\\"relationships\\":{\\"repositories\\":{\\"data\\":[]}}}],\\"included\\":[]}") { data: [query_workspaces_data_items] included: [JSON] } @@ -1420,7 +1450,7 @@ type query_workspaces_data_items_relationships_repositories { data: [JSON] } -type workspaces_by_workspace_slug_200_response @example(value: "{\\"data\\":{\\"id\\":\\"1q7txX\\",\\"type\\":\\"workspace\\",\\"attributes\\":{\\"name\\":\\"Fake Workspace\\",\\"slug\\":\\"fake-workspace\\",\\"updated_at\\":\\"2023-02-06T23:25:41.165Z\\",\\"created_at\\":\\"2023-02-06T23:25:41.055Z\\",\\"members_count\\":1,\\"activities_count\\":1,\\"tags\\":{}},\\"relationships\\":{\\"last_member\\":{\\"data\\":{\\"id\\":\\"rbeSAZ\\",\\"type\\":\\"member\\"}},\\"last_activity\\":{\\"data\\":{\\"id\\":\\"Ze3s3X\\",\\"type\\":\\"pull_request_activity\\"}},\\"repositories\\":{\\"data\\":[]}}},\\"included\\":[{\\"id\\":\\"rbeSAZ\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:41.136Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"PetrinaMuller\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"petrinamuller\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:41.136Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/fake-workspace/members/petrinamuller\\",\\"created\\":false,\\"id\\":\\"rbeSAZ\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}},{\\"id\\":\\"Ze3s3X\\",\\"type\\":\\"pull_request_activity\\",\\"attributes\\":{\\"action\\":\\"opened\\",\\"created_at\\":\\"2023-02-06T23:25:41.139Z\\",\\"key\\":\\"daltondietrich/terry#62\\",\\"occurred_at\\":\\"2023-02-06T23:25:41.127Z\\",\\"updated_at\\":\\"2023-02-06T23:25:41.139Z\\",\\"type\\":\\"PullRequestActivity\\",\\"properties\\":{\\"github_repository\\":\\"daltondietrich/terry\\",\\"github_organization\\":\\"daltondietrich\\",\\"github_pull_request\\":\\"daltondietrich/terry/#62\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:daltondietrich\\",\\"github_repository:daltondietrich/terry\\",\\"github_pull_request:daltondietrich/terry/#62\\"],\\"orbit_url\\":\\"http://localhost:3000/fake-workspace/activities/Ze3s3X\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/\\",\\"g_title\\":\\"Here is some new code\\",\\"g_number\\":62,\\"g_html_url\\":\\"https://github.com/\\",\\"g_created_at\\":\\"2023-02-07T00:25:41.127+01:00\\",\\"is_pull_request\\":null,\\"g_merged\\":false,\\"g_merged_at\\":null,\\"g_merged_by\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"5MxsRE\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"rbeSAZ\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"jOZTW6\\",\\"type\\":\\"repository\\"}}}}]}") { +type workspaces_by_workspace_slug_200_response @example(value: "{\\"data\\":{\\"id\\":\\"1q7txX\\",\\"type\\":\\"workspace\\",\\"attributes\\":{\\"name\\":\\"Fake Workspace\\",\\"slug\\":\\"fake-workspace\\",\\"updated_at\\":\\"2023-02-08T12:14:31.103Z\\",\\"created_at\\":\\"2023-02-08T12:14:31.034Z\\",\\"members_count\\":1,\\"activities_count\\":1,\\"tags\\":{}},\\"relationships\\":{\\"last_member\\":{\\"data\\":{\\"id\\":\\"rbeSAZ\\",\\"type\\":\\"member\\"}},\\"last_activity\\":{\\"data\\":{\\"id\\":\\"Ze3s3X\\",\\"type\\":\\"pull_request_activity\\"}},\\"repositories\\":{\\"data\\":[]}}},\\"included\\":[{\\"id\\":\\"rbeSAZ\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:31.085Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"JudeRunolfsdottir\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"juderunolfsdottir\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:31.085Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/fake-workspace/members/juderunolfsdottir\\",\\"created\\":false,\\"id\\":\\"rbeSAZ\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[]}}},{\\"id\\":\\"Ze3s3X\\",\\"type\\":\\"pull_request_activity\\",\\"attributes\\":{\\"action\\":\\"opened\\",\\"created_at\\":\\"2023-02-08T12:14:31.087Z\\",\\"key\\":\\"daviswaters/patti#88\\",\\"occurred_at\\":\\"2023-02-08T12:14:31.078Z\\",\\"updated_at\\":\\"2023-02-08T12:14:31.087Z\\",\\"type\\":\\"PullRequestActivity\\",\\"properties\\":{\\"github_repository\\":\\"daviswaters/patti\\",\\"github_organization\\":\\"daviswaters\\",\\"github_pull_request\\":\\"daviswaters/patti/#88\\"},\\"tags\\":[\\"channel:github\\",\\"github_organization:daviswaters\\",\\"github_repository:daviswaters/patti\\",\\"github_pull_request:daviswaters/patti/#88\\"],\\"orbit_url\\":\\"http://localhost:3000/fake-workspace/activities/Ze3s3X\\",\\"weight\\":\\"1.0\\",\\"activity_link\\":\\"https://github.com/\\",\\"g_title\\":\\"Here is some new code\\",\\"g_number\\":88,\\"g_html_url\\":\\"https://github.com/\\",\\"g_created_at\\":\\"2023-02-08T13:14:31.078+01:00\\",\\"is_pull_request\\":null,\\"g_merged\\":false,\\"g_merged_at\\":null,\\"g_merged_by\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"5MxsRE\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"rbeSAZ\\",\\"type\\":\\"member\\"}},\\"repository\\":{\\"data\\":{\\"id\\":\\"jOZTW6\\",\\"type\\":\\"repository\\"}}}}]}") { data: query_workspaces_by_workspace_slug_data included: [query_workspaces_by_workspace_slug_included_items] } @@ -1523,12 +1553,17 @@ type query_workspaces_by_workspace_slug_included_items_attributes { type query_workspaces_by_workspace_slug_included_items_relationships { identities: query_workspaces_by_workspace_slug_included_items_relationships_identities + organizations: query_workspaces_by_workspace_slug_included_items_relationships_organizations } type query_workspaces_by_workspace_slug_included_items_relationships_identities { data: [JSON] } +type query_workspaces_by_workspace_slug_included_items_relationships_organizations { + data: [JSON] +} + type Mutation { "Use this method when you know an identity of the member (github, email, twitter, etc.) but not their Orbit ID. Pass fields in the member object to update the member in addition to creating the activity." post_workspace_slug_activities(workspace_slug: String!, input: activity_and_identity_Input): post_workspace_slug_activities_response @httpOperation(path: "/{args.workspace_slug}/activities", operationSpecificHeaders: "{\\"Content-Type\\":\\"application/json\\",\\"accept\\":\\"application/json\\"}", httpMethod: POST) @@ -1564,7 +1599,7 @@ type Mutation { union post_workspace_slug_activities_response @statusCodeTypeName(statusCode: 201, typeName: "post_workspace_slug_activities_201_response") @statusCodeTypeName(statusCode: 422, typeName: "post_workspace_slug_activities_422_response") = post_workspace_slug_activities_201_response | post_workspace_slug_activities_422_response -type post_workspace_slug_activities_201_response @example(value: "{\\"data\\":{\\"id\\":\\"6zoslV\\",\\"type\\":\\"custom_activity\\",\\"attributes\\":{\\"action\\":\\"happened\\",\\"created_at\\":\\"2023-02-06T23:25:00.954Z\\",\\"key\\":\\"thing-123\\",\\"occurred_at\\":\\"2023-02-06T23:25:00.950Z\\",\\"updated_at\\":\\"2023-02-06T23:25:00.954Z\\",\\"type\\":\\"CustomActivity\\",\\"properties\\":{},\\"tags\\":[\\"product\\",\\"enterprise\\",\\"channel:custom\\",\\"custom_type:custom-type\\",\\"custom_title:did-a-thing\\"],\\"orbit_url\\":\\"http://localhost:3000/hortenciahellerv/activities/6zoslV\\",\\"weight\\":\\"0.2\\",\\"custom_description\\":\\"More info about the thing\\",\\"custom_link\\":\\"http://link.com/\\",\\"custom_link_text\\":\\"See the thing\\",\\"custom_title\\":\\"Did a thing\\",\\"custom_type\\":\\"custom-type\\",\\"custom_context\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"r9nS0B\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"ZvWFaW\\",\\"type\\":\\"user\\"}}}},\\"included\\":[{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Something happened\\",\\"short_name\\":\\"Custom\\",\\"key\\":\\"custom:happened\\",\\"channel\\":\\"custom\\",\\"source\\":\\"custom\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"3YETv3\\",\\"type\\":\\"twitter_identity\\",\\"attributes\\":{\\"uid\\":\\"45297280\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":\\"Josh Dzielak\\",\\"source\\":\\"twitter\\",\\"source_host\\":\\"twitter.com\\"}},{\\"id\\":\\"r9nS0B\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"https://pbs.twimg.com/profile_images/1110162582143406080/vu7_kN8f.png\\",\\"bio\\":\\"dzello.com/blog/2020/05/3… Co-founder & CTO @OrbitModel · advocate for dev advocates 🥑 · formerly @algolia and @keen_io · Ruby · Rails · JAMstack · he/him\\",\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:00.850Z\\",\\"deleted_at\\":null,\\"location\\":\\"Paris, France\\",\\"name\\":\\"Josh Dzielak\\",\\"pronouns\\":null,\\"reach\\":8,\\"shipping_address\\":null,\\"slug\\":\\"dzello\\",\\"source\\":\\"api\\",\\"tag_list\\":[\\"one\\",\\"two\\"],\\"tags\\":[\\"one\\",\\"two\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:00.893Z\\",\\"merged_at\\":null,\\"url\\":\\"https://dzello.com/blog/2020/05/30/black-lives-matter/\\",\\"orbit_url\\":\\"http://localhost:3000/hortenciahellerv/members/dzello\\",\\"created\\":true,\\"id\\":\\"r9nS0B\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":\\"dzello\\",\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":4598,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"3YETv3\\",\\"type\\":\\"twitter_identity\\"}]}}},{\\"id\\":\\"ZvWFaW\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"MrCorieKulas\\",\\"updated_at\\":\\"2023-02-06T23:25:00.746Z\\",\\"created_at\\":\\"2023-02-06T23:25:00.725Z\\"}}]}") { +type post_workspace_slug_activities_201_response @example(value: "{\\"data\\":{\\"id\\":\\"6zoslV\\",\\"type\\":\\"custom_activity\\",\\"attributes\\":{\\"action\\":\\"happened\\",\\"created_at\\":\\"2023-02-08T12:13:59.261Z\\",\\"key\\":\\"thing-123\\",\\"occurred_at\\":\\"2023-02-08T12:13:59.257Z\\",\\"updated_at\\":\\"2023-02-08T12:13:59.261Z\\",\\"type\\":\\"CustomActivity\\",\\"properties\\":{},\\"tags\\":[\\"product\\",\\"enterprise\\",\\"channel:custom\\",\\"custom_type:custom-type\\",\\"custom_title:did-a-thing\\"],\\"orbit_url\\":\\"http://localhost:3000/kayleeleuschke/activities/6zoslV\\",\\"weight\\":\\"0.2\\",\\"custom_description\\":\\"More info about the thing\\",\\"custom_link\\":\\"http://link.com/\\",\\"custom_link_text\\":\\"See the thing\\",\\"custom_title\\":\\"Did a thing\\",\\"custom_type\\":\\"custom-type\\",\\"custom_context\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"r9nS0B\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"ZvWFaW\\",\\"type\\":\\"user\\"}}}},\\"included\\":[{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Something happened\\",\\"short_name\\":\\"Custom\\",\\"key\\":\\"custom:happened\\",\\"channel\\":\\"custom\\",\\"source\\":\\"custom\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"3YETv3\\",\\"type\\":\\"twitter_identity\\",\\"attributes\\":{\\"uid\\":\\"45297280\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":\\"Josh Dzielak\\",\\"source\\":\\"twitter\\",\\"source_host\\":\\"twitter.com\\"}},{\\"id\\":\\"r9nS0B\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"https://pbs.twimg.com/profile_images/1110162582143406080/vu7_kN8f.png\\",\\"bio\\":\\"dzello.com/blog/2020/05/3… Co-founder & CTO @OrbitModel · advocate for dev advocates 🥑 · formerly @algolia and @keen_io · Ruby · Rails · JAMstack · he/him\\",\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:13:59.169Z\\",\\"deleted_at\\":null,\\"location\\":\\"Paris, France\\",\\"name\\":\\"Josh Dzielak\\",\\"pronouns\\":null,\\"reach\\":8,\\"shipping_address\\":null,\\"slug\\":\\"dzello\\",\\"source\\":\\"api\\",\\"tag_list\\":[\\"one\\",\\"two\\"],\\"tags\\":[\\"one\\",\\"two\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:13:59.206Z\\",\\"merged_at\\":null,\\"url\\":\\"https://dzello.com/blog/2020/05/30/black-lives-matter/\\",\\"orbit_url\\":\\"http://localhost:3000/kayleeleuschke/members/dzello\\",\\"created\\":true,\\"id\\":\\"r9nS0B\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":\\"dzello\\",\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":4598,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"3YETv3\\",\\"type\\":\\"twitter_identity\\"}]},\\"organizations\\":{\\"data\\":[]}}},{\\"id\\":\\"ZvWFaW\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"DrDuaneWaelchi\\",\\"updated_at\\":\\"2023-02-08T12:13:59.107Z\\",\\"created_at\\":\\"2023-02-08T12:13:59.103Z\\"}}]}") { data: mutation_post_workspace_slug_activities_oneOf_0_data included: [mutation_post_workspace_slug_activities_oneOf_0_included_items] } @@ -1748,7 +1783,7 @@ input identity_Input { union post_workspace_slug_members_by_member_slug_activities_response @statusCodeTypeName(statusCode: 201, typeName: "post_workspace_slug_members_by_member_slug_activities_201_response") @statusCodeTypeName(statusCode: 422, typeName: "post_workspace_slug_members_by_member_slug_activities_422_response") = post_workspace_slug_members_by_member_slug_activities_201_response | post_workspace_slug_members_by_member_slug_activities_422_response -type post_workspace_slug_members_by_member_slug_activities_201_response @example(value: "{\\"data\\":{\\"id\\":\\"ZngsdG\\",\\"type\\":\\"custom_activity\\",\\"attributes\\":{\\"action\\":\\"happened\\",\\"created_at\\":\\"2023-02-06T23:25:06.544Z\\",\\"key\\":\\"thing-123\\",\\"occurred_at\\":\\"2023-02-06T23:25:06.540Z\\",\\"updated_at\\":\\"2023-02-06T23:25:06.544Z\\",\\"type\\":\\"CustomActivity\\",\\"properties\\":{},\\"tags\\":[\\"product\\",\\"enterprise\\",\\"channel:custom\\",\\"custom_type:custom-type\\",\\"custom_title:did-a-thing\\"],\\"orbit_url\\":\\"http://localhost:3000/mrannamarietoy/activities/ZngsdG\\",\\"weight\\":\\"8.0\\",\\"custom_description\\":\\"More info about the thing\\",\\"custom_link\\":\\"http://link.com/\\",\\"custom_link_text\\":\\"See the thing\\",\\"custom_title\\":\\"Did a thing\\",\\"custom_type\\":\\"custom-type\\",\\"custom_context\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"45PSyv\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"DXKF8z\\",\\"type\\":\\"user\\"}}}},\\"included\\":[{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Something happened\\",\\"short_name\\":\\"Custom\\",\\"key\\":\\"custom:happened\\",\\"channel\\":\\"custom\\",\\"source\\":\\"custom\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"45PSyv\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:06.504Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"ColbyLemkeII\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"colbylemkeii\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:06.504Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/mrannamarietoy/members/colbylemkeii\\",\\"created\\":false,\\"id\\":\\"45PSyv\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]}}},{\\"id\\":\\"DXKF8z\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"CassondraHamill\\",\\"updated_at\\":\\"2023-02-06T23:25:06.525Z\\",\\"created_at\\":\\"2023-02-06T23:25:06.518Z\\"}}]}") { +type post_workspace_slug_members_by_member_slug_activities_201_response @example(value: "{\\"data\\":{\\"id\\":\\"ZngsdG\\",\\"type\\":\\"custom_activity\\",\\"attributes\\":{\\"action\\":\\"happened\\",\\"created_at\\":\\"2023-02-08T12:14:03.141Z\\",\\"key\\":\\"thing-123\\",\\"occurred_at\\":\\"2023-02-08T12:14:03.137Z\\",\\"updated_at\\":\\"2023-02-08T12:14:03.141Z\\",\\"type\\":\\"CustomActivity\\",\\"properties\\":{},\\"tags\\":[\\"product\\",\\"enterprise\\",\\"channel:custom\\",\\"custom_type:custom-type\\",\\"custom_title:did-a-thing\\"],\\"orbit_url\\":\\"http://localhost:3000/anabeltoy/activities/ZngsdG\\",\\"weight\\":\\"8.0\\",\\"custom_description\\":\\"More info about the thing\\",\\"custom_link\\":\\"http://link.com/\\",\\"custom_link_text\\":\\"See the thing\\",\\"custom_title\\":\\"Did a thing\\",\\"custom_type\\":\\"custom-type\\",\\"custom_context\\":null},\\"relationships\\":{\\"activity_type\\":{\\"data\\":{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\"}},\\"member\\":{\\"data\\":{\\"id\\":\\"45PSyv\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"DXKF8z\\",\\"type\\":\\"user\\"}}}},\\"included\\":[{\\"id\\":\\"574seD\\",\\"type\\":\\"activity_type\\",\\"attributes\\":{\\"name\\":\\"Something happened\\",\\"short_name\\":\\"Custom\\",\\"key\\":\\"custom:happened\\",\\"channel\\":\\"custom\\",\\"source\\":\\"custom\\",\\"weight\\":\\"1.0\\"}},{\\"id\\":\\"45PSyv\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":null,\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:03.094Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"StaceyJacobi\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"staceyjacobi\\",\\"source\\":\\"installation\\",\\"tag_list\\":[],\\"tags\\":[],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:03.094Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/anabeltoy/members/staceyjacobi\\",\\"created\\":false,\\"id\\":\\"45PSyv\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":null,\\"github\\":null,\\"discourse\\":null,\\"email\\":null,\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[]},\\"organizations\\":{\\"data\\":[]}}},{\\"id\\":\\"DXKF8z\\",\\"type\\":\\"user\\",\\"attributes\\":{\\"name\\":\\"AliGleason\\",\\"updated_at\\":\\"2023-02-08T12:14:03.112Z\\",\\"created_at\\":\\"2023-02-08T12:14:03.106Z\\"}}]}") { data: mutation_post_workspace_slug_members_by_member_slug_activities_oneOf_0_data included: [mutation_post_workspace_slug_members_by_member_slug_activities_oneOf_0_included_items] } @@ -1923,7 +1958,7 @@ type mutation_delete_workspace_slug_members_by_member_slug_identities_oneOf_1_er identity: [String] } -type post_workspace_slug_members_by_member_slug_notes_201_response @example(value: "{\\"data\\":{\\"id\\":\\"qR4fVo\\",\\"type\\":\\"note\\",\\"attributes\\":{\\"id\\":\\"qR4fVo\\",\\"created_at\\":\\"2023-02-06T23:25:09.628Z\\",\\"body\\":\\"heyo\\",\\"updated_at\\":\\"2023-02-06T23:25:09.628Z\\"},\\"relationships\\":{\\"member\\":{\\"data\\":{\\"id\\":\\"jDdSYG\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"lyoFLY\\",\\"type\\":\\"user\\"}}}}}") { +type post_workspace_slug_members_by_member_slug_notes_201_response @example(value: "{\\"data\\":{\\"id\\":\\"qR4fVo\\",\\"type\\":\\"note\\",\\"attributes\\":{\\"id\\":\\"qR4fVo\\",\\"created_at\\":\\"2023-02-08T12:14:05.984Z\\",\\"body\\":\\"heyo\\",\\"updated_at\\":\\"2023-02-08T12:14:05.984Z\\"},\\"relationships\\":{\\"member\\":{\\"data\\":{\\"id\\":\\"jDdSYG\\",\\"type\\":\\"member\\"}},\\"user\\":{\\"data\\":{\\"id\\":\\"lyoFLY\\",\\"type\\":\\"user\\"}}}}}") { data: mutation_post_workspace_slug_members_by_member_slug_notes_data } @@ -1970,7 +2005,7 @@ input note_Input { union post_workspace_slug_members_response @statusCodeTypeName(statusCode: 200, typeName: "post_workspace_slug_members_200_response") @statusCodeTypeName(statusCode: 201, typeName: "post_workspace_slug_members_201_response") @statusCodeTypeName(statusCode: 422, typeName: "post_workspace_slug_members_422_response") = post_workspace_slug_members_200_response | post_workspace_slug_members_201_response | post_workspace_slug_members_422_response -type post_workspace_slug_members_200_response @example(value: "{\\"data\\":{\\"id\\":\\"4ndS8E\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":\\"Orbit\\",\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:20.670Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"TreasaVeumIII\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"treasaveumiii\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"one\\",\\"two\\"],\\"tags\\":[\\"one\\",\\"two\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:20.789Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/deangelowalshii/members/treasaveumiii\\",\\"created\\":false,\\"id\\":\\"4ndS8E\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":\\"dzello\\",\\"github\\":\\"dzello\\",\\"discourse\\":null,\\"email\\":\\"dzello@orbit.love\\",\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"5ENTeK\\",\\"type\\":\\"github_identity\\"},{\\"id\\":\\"nZRTEp\\",\\"type\\":\\"twitter_identity\\"},{\\"id\\":\\"nqaT7d\\",\\"type\\":\\"email_identity\\"}]}}},\\"included\\":[{\\"id\\":\\"5ENTeK\\",\\"type\\":\\"github_identity\\",\\"attributes\\":{\\"uid\\":\\"uid-72\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"github\\",\\"source_host\\":\\"github.com\\"}},{\\"id\\":\\"nZRTEp\\",\\"type\\":\\"twitter_identity\\",\\"attributes\\":{\\"uid\\":null,\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"twitter\\",\\"source_host\\":\\"twitter.com\\"}},{\\"id\\":\\"nqaT7d\\",\\"type\\":\\"email_identity\\",\\"attributes\\":{\\"uid\\":\\"dzello@orbit.love\\",\\"email\\":\\"dzello@orbit.love\\",\\"username\\":null,\\"name\\":\\"dzello\\",\\"source\\":\\"email\\",\\"source_host\\":\\"email.host\\"}}]}") { +type post_workspace_slug_members_200_response @example(value: "{\\"data\\":{\\"id\\":\\"4ndS8E\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"http://github.com/avatar.png\\",\\"bio\\":null,\\"birthday\\":null,\\"company\\":\\"Orbit\\",\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:14.691Z\\",\\"deleted_at\\":null,\\"location\\":null,\\"name\\":\\"RobbinBednarSr\\",\\"pronouns\\":null,\\"reach\\":0,\\"shipping_address\\":null,\\"slug\\":\\"robbinbednarsr\\",\\"source\\":\\"installation\\",\\"tag_list\\":[\\"one\\",\\"two\\"],\\"tags\\":[\\"one\\",\\"two\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:14.768Z\\",\\"merged_at\\":null,\\"url\\":null,\\"orbit_url\\":\\"http://localhost:3000/alvertaemard/members/robbinbednarsr\\",\\"created\\":false,\\"id\\":\\"4ndS8E\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":\\"dzello\\",\\"github\\":\\"dzello\\",\\"discourse\\":null,\\"email\\":\\"dzello@orbit.love\\",\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":null,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"5ENTeK\\",\\"type\\":\\"github_identity\\"},{\\"id\\":\\"nZRTEp\\",\\"type\\":\\"twitter_identity\\"},{\\"id\\":\\"nqaT7d\\",\\"type\\":\\"email_identity\\"}]},\\"organizations\\":{\\"data\\":[{\\"id\\":\\"ax8FMa\\",\\"type\\":\\"organization\\"}]}}},\\"included\\":[{\\"id\\":\\"5ENTeK\\",\\"type\\":\\"github_identity\\",\\"attributes\\":{\\"uid\\":\\"uid-72\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"github\\",\\"source_host\\":\\"github.com\\"}},{\\"id\\":\\"nZRTEp\\",\\"type\\":\\"twitter_identity\\",\\"attributes\\":{\\"uid\\":null,\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"twitter\\",\\"source_host\\":\\"twitter.com\\"}},{\\"id\\":\\"nqaT7d\\",\\"type\\":\\"email_identity\\",\\"attributes\\":{\\"uid\\":\\"dzello@orbit.love\\",\\"email\\":\\"dzello@orbit.love\\",\\"username\\":null,\\"name\\":\\"dzello\\",\\"source\\":\\"email\\",\\"source_host\\":\\"email.host\\"}}]}") { data: mutation_post_workspace_slug_members_oneOf_0_data included: [mutation_post_workspace_slug_members_oneOf_0_included_items] } @@ -2028,6 +2063,7 @@ type mutation_post_workspace_slug_members_oneOf_0_data_attributes { type mutation_post_workspace_slug_members_oneOf_0_data_relationships { identities: mutation_post_workspace_slug_members_oneOf_0_data_relationships_identities + organizations: mutation_post_workspace_slug_members_oneOf_0_data_relationships_organizations } type mutation_post_workspace_slug_members_oneOf_0_data_relationships_identities { @@ -2039,6 +2075,15 @@ type mutation_post_workspace_slug_members_oneOf_0_data_relationships_identities_ type: String } +type mutation_post_workspace_slug_members_oneOf_0_data_relationships_organizations { + data: [mutation_post_workspace_slug_members_oneOf_0_data_relationships_organizations_data_items] +} + +type mutation_post_workspace_slug_members_oneOf_0_data_relationships_organizations_data_items { + id: String + type: String +} + type mutation_post_workspace_slug_members_oneOf_0_included_items { id: String type: String @@ -2054,7 +2099,7 @@ type mutation_post_workspace_slug_members_oneOf_0_included_items_attributes { source_host: String } -type post_workspace_slug_members_201_response @example(value: "{\\"data\\":{\\"id\\":\\"40mSvV\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"https://avatars2.githubusercontent.com/u/174777?u=79e423dd07c19122115f52a1c97727ca193e6253&v=4\\",\\"bio\\":\\"Co-founder & CTO @orbit-love · Developer Advocate · formerly @algolia and @keen\\",\\"birthday\\":null,\\"company\\":\\"Orbit Love\\",\\"title\\":null,\\"created_at\\":\\"2023-02-06T23:25:20.246Z\\",\\"deleted_at\\":null,\\"location\\":\\"Paris\\",\\"name\\":\\"Josh Dzielak\\",\\"pronouns\\":null,\\"reach\\":8,\\"shipping_address\\":null,\\"slug\\":\\"dzello\\",\\"source\\":\\"api\\",\\"tag_list\\":[\\"one\\",\\"two\\"],\\"tags\\":[\\"one\\",\\"two\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-06T23:25:20.337Z\\",\\"merged_at\\":null,\\"url\\":\\"https://dzello.com/\\",\\"orbit_url\\":\\"http://localhost:3000/alexnienow/members/dzello\\",\\"created\\":true,\\"id\\":\\"40mSvV\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":\\"dzello\\",\\"github\\":\\"dzello\\",\\"discourse\\":null,\\"email\\":\\"josh@orbit.love\\",\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":171,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"1ADTwV\\",\\"type\\":\\"github_identity\\"},{\\"id\\":\\"3RgTbZ\\",\\"type\\":\\"twitter_identity\\"},{\\"id\\":\\"3YETyv\\",\\"type\\":\\"email_identity\\"}]}}},\\"included\\":[{\\"id\\":\\"1ADTwV\\",\\"type\\":\\"github_identity\\",\\"attributes\\":{\\"uid\\":\\"174777\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":\\"Josh Dzielak\\",\\"source\\":\\"github\\",\\"source_host\\":\\"github.com\\"}},{\\"id\\":\\"3RgTbZ\\",\\"type\\":\\"twitter_identity\\",\\"attributes\\":{\\"uid\\":null,\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"twitter\\",\\"source_host\\":\\"twitter.com\\"}},{\\"id\\":\\"3YETyv\\",\\"type\\":\\"email_identity\\",\\"attributes\\":{\\"uid\\":\\"josh@orbit.love\\",\\"email\\":\\"josh@orbit.love\\",\\"username\\":null,\\"name\\":\\"josh\\",\\"source\\":\\"email\\",\\"source_host\\":\\"email.host\\"}}]}") { +type post_workspace_slug_members_201_response @example(value: "{\\"data\\":{\\"id\\":\\"40mSvV\\",\\"type\\":\\"member\\",\\"attributes\\":{\\"avatar_url\\":\\"https://avatars2.githubusercontent.com/u/174777?u=79e423dd07c19122115f52a1c97727ca193e6253&v=4\\",\\"bio\\":\\"Co-founder & CTO @orbit-love · Developer Advocate · formerly @algolia and @keen\\",\\"birthday\\":null,\\"company\\":\\"Orbit Love\\",\\"title\\":null,\\"created_at\\":\\"2023-02-08T12:14:14.362Z\\",\\"deleted_at\\":null,\\"location\\":\\"Paris\\",\\"name\\":\\"Josh Dzielak\\",\\"pronouns\\":null,\\"reach\\":8,\\"shipping_address\\":null,\\"slug\\":\\"dzello\\",\\"source\\":\\"api\\",\\"tag_list\\":[\\"one\\",\\"two\\"],\\"tags\\":[\\"one\\",\\"two\\"],\\"teammate\\":false,\\"tshirt\\":null,\\"updated_at\\":\\"2023-02-08T12:14:14.474Z\\",\\"merged_at\\":null,\\"url\\":\\"https://dzello.com/\\",\\"orbit_url\\":\\"http://localhost:3000/msnewtonadams/members/dzello\\",\\"created\\":true,\\"id\\":\\"40mSvV\\",\\"orbit_level\\":null,\\"love\\":null,\\"first_activity_occurred_at\\":null,\\"last_activity_occurred_at\\":null,\\"activities_count\\":0,\\"activities_score\\":0,\\"twitter\\":\\"dzello\\",\\"github\\":\\"dzello\\",\\"discourse\\":null,\\"email\\":\\"josh@orbit.love\\",\\"devto\\":null,\\"linkedin\\":null,\\"discord\\":null,\\"github_followers\\":171,\\"twitter_followers\\":null,\\"topics\\":null,\\"languages\\":null},\\"relationships\\":{\\"identities\\":{\\"data\\":[{\\"id\\":\\"1ADTwV\\",\\"type\\":\\"github_identity\\"},{\\"id\\":\\"3RgTbZ\\",\\"type\\":\\"twitter_identity\\"},{\\"id\\":\\"3YETyv\\",\\"type\\":\\"email_identity\\"}]},\\"organizations\\":{\\"data\\":[{\\"id\\":\\"n9WF2V\\",\\"type\\":\\"organization\\"}]}}},\\"included\\":[{\\"id\\":\\"1ADTwV\\",\\"type\\":\\"github_identity\\",\\"attributes\\":{\\"uid\\":\\"174777\\",\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":\\"Josh Dzielak\\",\\"source\\":\\"github\\",\\"source_host\\":\\"github.com\\"}},{\\"id\\":\\"3RgTbZ\\",\\"type\\":\\"twitter_identity\\",\\"attributes\\":{\\"uid\\":null,\\"email\\":null,\\"username\\":\\"dzello\\",\\"name\\":null,\\"source\\":\\"twitter\\",\\"source_host\\":\\"twitter.com\\"}},{\\"id\\":\\"3YETyv\\",\\"type\\":\\"email_identity\\",\\"attributes\\":{\\"uid\\":\\"josh@orbit.love\\",\\"email\\":\\"josh@orbit.love\\",\\"username\\":null,\\"name\\":\\"josh\\",\\"source\\":\\"email\\",\\"source_host\\":\\"email.host\\"}}]}") { data: mutation_post_workspace_slug_members_oneOf_1_data included: [mutation_post_workspace_slug_members_oneOf_1_included_items] } @@ -2112,6 +2157,7 @@ type mutation_post_workspace_slug_members_oneOf_1_data_attributes { type mutation_post_workspace_slug_members_oneOf_1_data_relationships { identities: mutation_post_workspace_slug_members_oneOf_1_data_relationships_identities + organizations: mutation_post_workspace_slug_members_oneOf_1_data_relationships_organizations } type mutation_post_workspace_slug_members_oneOf_1_data_relationships_identities { @@ -2123,6 +2169,15 @@ type mutation_post_workspace_slug_members_oneOf_1_data_relationships_identities_ type: String } +type mutation_post_workspace_slug_members_oneOf_1_data_relationships_organizations { + data: [mutation_post_workspace_slug_members_oneOf_1_data_relationships_organizations_data_items] +} + +type mutation_post_workspace_slug_members_oneOf_1_data_relationships_organizations_data_items { + id: String + type: String +} + type mutation_post_workspace_slug_members_oneOf_1_included_items { id: String type: String diff --git a/packages/plugins/prometheus/src/createHistogramForEnvelop.ts b/packages/plugins/prometheus/src/createHistogramForEnvelop.ts new file mode 100644 index 0000000000000..5beba7fd4e68a --- /dev/null +++ b/packages/plugins/prometheus/src/createHistogramForEnvelop.ts @@ -0,0 +1,37 @@ +import { Histogram, Registry } from 'prom-client'; + +export const commonLabelsForEnvelop = ['operationType', 'operationName'] as const; + +export function commonFillLabelsFnForEnvelop(params: { + operationName?: string; + operationType?: string; +}) { + return { + operationName: params.operationName!, + operationType: params.operationType!, + }; +} + +interface CreateHistogramContainerForEnvelop { + defaultName: string; + help: string; + valueFromConfig: string | boolean; + registry: Registry; +} + +export function createHistogramForEnvelop({ + defaultName, + help, + valueFromConfig, + registry, +}: CreateHistogramContainerForEnvelop) { + return { + histogram: new Histogram({ + name: typeof valueFromConfig === 'string' ? valueFromConfig : defaultName, + help, + labelNames: commonLabelsForEnvelop, + registers: [registry], + }), + fillLabelsFn: commonFillLabelsFnForEnvelop, + }; +} diff --git a/packages/plugins/prometheus/src/index.ts b/packages/plugins/prometheus/src/index.ts index e0595460f3870..cd8c15c490d48 100644 --- a/packages/plugins/prometheus/src/index.ts +++ b/packages/plugins/prometheus/src/index.ts @@ -1,8 +1,20 @@ -import { usePrometheus } from '@graphql-yoga/plugin-prometheus'; +import type { Plugin as YogaPlugin } from 'graphql-yoga'; +import { Counter, register as defaultRegistry, Histogram, Registry, Summary } from 'prom-client'; import { MeshPlugin, MeshPluginOptions, YamlConfig } from '@graphql-mesh/types'; import { getHeadersObj, loadFromModuleExportExpression } from '@graphql-mesh/utils'; -import { Histogram, register as defaultRegistry, Registry } from 'prom-client'; -import type { Plugin as YogaPlugin } from 'graphql-yoga'; +import { + usePrometheus, + PrometheusTracingPluginConfig as YogaPromPluginConfig, +} from '@graphql-yoga/plugin-prometheus'; +import { + commonFillLabelsFnForEnvelop, + commonLabelsForEnvelop, + createHistogramForEnvelop, +} from './createHistogramForEnvelop'; + +type HistogramContainer = Exclude; +type CounterContainer = Exclude; +type SummaryContainer = Exclude; export default async function useMeshPrometheus( pluginOptions: MeshPluginOptions, @@ -14,29 +26,200 @@ export default async function useMeshPrometheus( defaultExportName: 'default', }) : defaultRegistry; - const fetchHistogram = new Histogram({ - name: 'graphql_mesh_fetch_duration', - help: 'Time spent on outgoing HTTP calls', - labelNames: ['url', 'method', 'requestHeaders', 'statusCode', 'statusText', 'responseHeaders'], - registers: [registry], - }); - const delegateHistogram = new Histogram({ - name: 'graphql_mesh_delegate_duration', - help: 'Time spent on delegate execution', - labelNames: ['sourceName', 'typeName', 'fieldName', 'args', 'key'], - registers: [registry], - }); + + let fetchHistogram: Histogram | undefined; + + if (pluginOptions.fetch) { + const name = + typeof pluginOptions.fetch === 'string' ? pluginOptions.fetch : 'graphql_mesh_fetch_duration'; + fetchHistogram = new Histogram({ + name, + help: 'Time spent on outgoing HTTP calls', + labelNames: [ + 'url', + 'method', + 'requestHeaders', + 'statusCode', + 'statusText', + 'responseHeaders', + ], + registers: [registry], + }); + } + + let delegateHistogram: Histogram | undefined; + + if (pluginOptions.delegation) { + const name = + typeof pluginOptions.delegation === 'string' + ? pluginOptions.delegation + : 'graphql_mesh_delegate_duration'; + delegateHistogram = new Histogram({ + name, + help: 'Time spent on delegate execution', + labelNames: ['sourceName', 'typeName', 'fieldName', 'args', 'key'], + registers: [registry], + }); + } + + let httpHistogram: HistogramContainer | undefined; + + if (pluginOptions.http) { + const labelNames = ['url', 'method', 'statusCode', 'statusText', 'responseHeaders']; + if (pluginOptions.httpRequestHeaders) { + labelNames.push('requestHeaders'); + } + const name = + typeof pluginOptions.http === 'string' ? pluginOptions.http : 'graphql_mesh_http_duration'; + httpHistogram = { + histogram: new Histogram({ + name, + help: 'Time spent on incoming HTTP requests', + labelNames, + registers: [registry], + }), + fillLabelsFn(_, { request, response }) { + const labels: Record = { + url: request.url, + method: request.method, + statusCode: response.status, + statusText: response.statusText, + responseHeaders: JSON.stringify(getHeadersObj(response.headers)), + }; + if (pluginOptions.httpRequestHeaders) { + labels.requestHeaders = JSON.stringify(getHeadersObj(request.headers)); + } + return labels; + }, + }; + } + + let requestCounter: CounterContainer | undefined; + + if (pluginOptions.requestCount) { + const name = + typeof pluginOptions.requestCount === 'string' + ? pluginOptions.requestCount + : 'graphql_mesh_request_count'; + requestCounter = { + counter: new Counter({ + name, + help: 'Counts the amount of GraphQL requests executed', + labelNames: commonLabelsForEnvelop, + registers: [registry], + }), + fillLabelsFn: commonFillLabelsFnForEnvelop, + }; + } + + let requestSummary: SummaryContainer | undefined; + + if (pluginOptions.requestSummary) { + const name = + typeof pluginOptions.requestSummary === 'string' + ? pluginOptions.requestSummary + : 'graphql_mesh_request_time_summary'; + requestSummary = { + summary: new Summary({ + name, + help: 'Summary to measure the time to complete GraphQL operations', + labelNames: commonLabelsForEnvelop, + registers: [registry], + }), + fillLabelsFn: commonFillLabelsFnForEnvelop, + }; + } + + let errorsCounter: CounterContainer | undefined; + + if (pluginOptions.errors) { + const name = + typeof pluginOptions.errors === 'string' ? pluginOptions.errors : 'graphql_mesh_error_result'; + errorsCounter = { + counter: new Counter({ + name, + help: 'Counts the amount of errors reported from all phases', + labelNames: ['operationType', 'operationName', 'path', 'phase'] as const, + registers: [registry], + }), + fillLabelsFn: params => ({ + operationName: params.operationName!, + operationType: params.operationType!, + path: params.error?.path?.join('.'), + phase: params.errorPhase!, + }), + }; + } + + let deprecatedCounter: CounterContainer | undefined; + + if (pluginOptions.deprecatedFields) { + const name = + typeof pluginOptions.deprecatedFields === 'string' + ? pluginOptions.deprecatedFields + : 'graphql_mesh_deprecated_fields'; + deprecatedCounter = { + counter: new Counter({ + name, + help: 'Counts the amount of deprecated fields used in selection sets', + labelNames: ['operationType', 'operationName', 'fieldName', 'typeName'] as const, + registers: [registry], + }), + fillLabelsFn: params => ({ + operationName: params.operationName!, + operationType: params.operationType!, + fieldName: params.deprecationInfo?.fieldName, + typeName: params.deprecationInfo?.typeName, + }), + }; + } + return { onPluginInit({ addPlugin }) { addPlugin( usePrometheus({ ...pluginOptions, + http: httpHistogram, + requestCount: requestCounter, + requestTotalDuration: createHistogramForEnvelop({ + defaultName: 'graphql_mesh_request_duration', + valueFromConfig: pluginOptions.requestTotalDuration, + help: 'Time spent on running the GraphQL operation from parse to execute', + registry, + }), + requestSummary, + parse: createHistogramForEnvelop({ + defaultName: 'graphql_mesh_parse_duration', + valueFromConfig: pluginOptions.parse, + help: 'Time spent on parsing the GraphQL operation', + registry, + }), + validate: createHistogramForEnvelop({ + defaultName: 'graphql_mesh_validate_duration', + valueFromConfig: pluginOptions.validate, + help: 'Time spent on validating the GraphQL operation', + registry, + }), + contextBuilding: createHistogramForEnvelop({ + defaultName: 'graphql_mesh_context_building_duration', + valueFromConfig: pluginOptions.contextBuilding, + help: 'Time spent on building the GraphQL context', + registry, + }), + execute: createHistogramForEnvelop({ + defaultName: 'graphql_mesh_execute_duration', + valueFromConfig: pluginOptions.execute, + help: 'Time spent on executing the GraphQL operation', + registry, + }), + errors: errorsCounter, + deprecatedFields: deprecatedCounter, registry, }), ); }, onDelegate({ sourceName, typeName, fieldName, args, key }) { - if (pluginOptions.delegation !== false) { + if (delegateHistogram) { const start = Date.now(); return () => { const end = Date.now(); @@ -56,7 +239,7 @@ export default async function useMeshPrometheus( return undefined; }, onFetch({ url, options }) { - if (pluginOptions.fetch !== false) { + if (fetchHistogram) { const start = Date.now(); return ({ response }) => { const end = Date.now(); diff --git a/packages/plugins/prometheus/yaml-config.graphql b/packages/plugins/prometheus/yaml-config.graphql index 8855e99b58f04..8a0242ad71727 100644 --- a/packages/plugins/prometheus/yaml-config.graphql +++ b/packages/plugins/prometheus/yaml-config.graphql @@ -3,24 +3,32 @@ extend type Plugin { } type PrometheusConfig @md { - requestCount: Boolean - requestTotalDuration: Boolean - requestSummary: Boolean - parse: Boolean - validate: Boolean - contextBuilding: Boolean - execute: Boolean - errors: Boolean - resolvers: Boolean - resolversWhiteList: [String] - deprecatedFields: Boolean - delegation: Boolean - fetch: Boolean + requestCount: BooleanOrString + requestTotalDuration: BooleanOrString + requestSummary: BooleanOrString + parse: BooleanOrString + validate: BooleanOrString + contextBuilding: BooleanOrString + execute: BooleanOrString + errors: BooleanOrString + deprecatedFields: BooleanOrString + skipIntrospection: Boolean registry: String + + # Mesh specific flags + delegation: BooleanOrString + fetch: BooleanOrString + fetchRequestHeaders: Boolean + + # Yoga specific flags + http: BooleanOrString + httpRequestHeaders: Boolean """ The path to the metrics endpoint default: `/metrics` """ endpoint: String } + +union BooleanOrString = Boolean | String diff --git a/packages/types/src/config-schema.json b/packages/types/src/config-schema.json index c88a04977b199..2d8af0079e266 100644 --- a/packages/types/src/config-schema.json +++ b/packages/types/src/config-schema.json @@ -2317,53 +2317,148 @@ "title": "PrometheusConfig", "properties": { "requestCount": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "requestTotalDuration": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "requestSummary": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "parse": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "validate": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "contextBuilding": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "execute": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "errors": { - "type": "boolean" - }, - "resolvers": { - "type": "boolean" - }, - "resolversWhiteList": { - "type": "array", - "items": { - "type": "string" - }, - "additionalItems": false + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "deprecatedFields": { + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "skipIntrospection": { "type": "boolean" }, + "registry": { + "type": "string" + }, "delegation": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, "fetch": { - "type": "boolean" + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] }, - "skipIntrospection": { + "fetchRequestHeaders": { "type": "boolean" }, - "registry": { - "type": "string" + "http": { + "description": "Any of: Boolean, String", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "httpRequestHeaders": { + "type": "boolean" }, "endpoint": { "type": "string", diff --git a/packages/types/src/config.ts b/packages/types/src/config.ts index 3f14edd4a49d4..9b3eedec847ec 100644 --- a/packages/types/src/config.ts +++ b/packages/types/src/config.ts @@ -1892,21 +1892,58 @@ export interface OperationFieldPermission { allow?: string[]; } export interface PrometheusConfig { - requestCount?: boolean; - requestTotalDuration?: boolean; - requestSummary?: boolean; - parse?: boolean; - validate?: boolean; - contextBuilding?: boolean; - execute?: boolean; - errors?: boolean; - resolvers?: boolean; - resolversWhiteList?: string[]; - deprecatedFields?: boolean; - delegation?: boolean; - fetch?: boolean; + /** + * Any of: Boolean, String + */ + requestCount?: boolean | string; + /** + * Any of: Boolean, String + */ + requestTotalDuration?: boolean | string; + /** + * Any of: Boolean, String + */ + requestSummary?: boolean | string; + /** + * Any of: Boolean, String + */ + parse?: boolean | string; + /** + * Any of: Boolean, String + */ + validate?: boolean | string; + /** + * Any of: Boolean, String + */ + contextBuilding?: boolean | string; + /** + * Any of: Boolean, String + */ + execute?: boolean | string; + /** + * Any of: Boolean, String + */ + errors?: boolean | string; + /** + * Any of: Boolean, String + */ + deprecatedFields?: boolean | string; skipIntrospection?: boolean; registry?: string; + /** + * Any of: Boolean, String + */ + delegation?: boolean | string; + /** + * Any of: Boolean, String + */ + fetch?: boolean | string; + fetchRequestHeaders?: boolean; + /** + * Any of: Boolean, String + */ + http?: boolean | string; + httpRequestHeaders?: boolean; /** * The path to the metrics endpoint * default: `/metrics` diff --git a/website/src/generated-markdown/PrometheusConfig.generated.md b/website/src/generated-markdown/PrometheusConfig.generated.md index 494e2afe1f228..f7f3c08d23522 100644 --- a/website/src/generated-markdown/PrometheusConfig.generated.md +++ b/website/src/generated-markdown/PrometheusConfig.generated.md @@ -1,18 +1,43 @@ -* `requestCount` (type: `Boolean`) -* `requestTotalDuration` (type: `Boolean`) -* `requestSummary` (type: `Boolean`) -* `parse` (type: `Boolean`) -* `validate` (type: `Boolean`) -* `contextBuilding` (type: `Boolean`) -* `execute` (type: `Boolean`) -* `errors` (type: `Boolean`) -* `resolvers` (type: `Boolean`) -* `resolversWhiteList` (type: `Array of String`) -* `deprecatedFields` (type: `Boolean`) -* `delegation` (type: `Boolean`) -* `fetch` (type: `Boolean`) +* `requestCount` - One of: + * `Boolean` + * `String` +* `requestTotalDuration` - One of: + * `Boolean` + * `String` +* `requestSummary` - One of: + * `Boolean` + * `String` +* `parse` - One of: + * `Boolean` + * `String` +* `validate` - One of: + * `Boolean` + * `String` +* `contextBuilding` - One of: + * `Boolean` + * `String` +* `execute` - One of: + * `Boolean` + * `String` +* `errors` - One of: + * `Boolean` + * `String` +* `deprecatedFields` - One of: + * `Boolean` + * `String` * `skipIntrospection` (type: `Boolean`) * `registry` (type: `String`) +* `delegation` - One of: + * `Boolean` + * `String` +* `fetch` - One of: + * `Boolean` + * `String` +* `fetchRequestHeaders` (type: `Boolean`) +* `http` - One of: + * `Boolean` + * `String` +* `httpRequestHeaders` (type: `Boolean`) * `endpoint` (type: `String`) - The path to the metrics endpoint default: `/metrics` \ No newline at end of file diff --git a/website/src/pages/docs/plugins/prometheus.mdx b/website/src/pages/docs/plugins/prometheus.mdx index f556fc0b4993f..93122ec418676 100644 --- a/website/src/pages/docs/plugins/prometheus.mdx +++ b/website/src/pages/docs/plugins/prometheus.mdx @@ -43,6 +43,25 @@ plugins: execute: true errors: true resolvers: true + + # reports metrics for the delegation to the individual sources + delegation: true + + # reports metrics for the outgoing HTTP requests + fetch: true + # Adds the request headers to the metrics + fetchRequestHeaders: true + # Adds the response headers to the metrics + fetchResponseHeaders: true + + # reports metrics for the incoming HTTP requests (this sets a custom name for http) + # If you pass a string instead of boolean, it will be used as the name of the metric + http: my-http-duration-metric + # Adds the request headers to the metrics + httpRequestHeaders: true + # Adds the response headers to the metrics + httpResponseHeaders: true + # reports metrics also for these resolvers, by default all fields are reported resolversWhiteList: - Mutation.*