{"version":"1.7.32","tabs":[{"name":"Fetch Projects and Posts","endpoint":"https://api.noticeable.io/graphql","query":"# Type queries into this side of the screen, and you will\n# see intelligent typeaheads aware of the current GraphQL type schema,\n# live syntax, and validation errors highlighted within the text.\n\n# This playground is for testing purposes only.\n# You can perform requests with any HTTP or Graphql clients.\n# It includes cURL, HTTPie, Apollo Client, etc.\n\n# We'll get you started with a simple query fetching projects and posts!\n\nquery {\n organization {\n id\n projects(first: 10) {\n pageInfo {\n hasNextPage\n }\n edges {\n node {\n id\n name\n createdAt\n posts(last:5) {\n edges {\n node {\n id\n title\n createdAt\n }\n }\n }\n }\n }\n }\n }\n}","headers":{"Authorization":"Apikey undefined"}},{"name":"Fetch Project Posts","endpoint":"https://api.noticeable.io/graphql","query":"# Fetches project posts data for the given project identifier.\n\n# You must replace YOUR_PROJECT_ID by your own value.\n# Please also note that many fields are returned for demonstration purpose.\n# However, in a real use case you should only return the fields you need.\n# This has the benefit to reduce the bandwidth consumption and response time.\n\nquery { \n project(id: \"YOUR_PROJECT_ID\") { \n posts(last: 10, isDraft: false, before: \"now\") {\n edges {\n node {\n author {\n fullName\n jobTitle\n }\n content {\n html\n htmlEscaped\n markdown\n plaintext\n }\n createdAt\n excerpt\n forwardToWebhooks\n id\n isDraft\n labels {\n color\n name\n slug\n }\n permalink\n publicationTime\n segments\n slug\n title\n updatedAt\n }\n }\n }\n }\n}","headers":{"Authorization":"Apikey undefined"}},{"name":"Fetch Project","endpoint":"https://api.noticeable.io/graphql","query":"# Fetches project data for the given project identifier.\n\n# You must replace YOUR_PROJECT_ID by your own value.\n# Please also note that many fields are returned for demonstration purpose.\n# However, in a real use case you should only return the fields you need.\n# This has the benefit to reduce the bandwidth consumption and response time.\n\nquery { \n project(id: \"YOUR_PROJECT_ID\") { \n accentColor\n createdAt\n id\n labels {\n color\n name\n slug\n }\n logoUrl\n name\n timeline {\n allowCrawlers\n collectSubscriptions\n customDomain {\n name\n verified\n }\n email\n googleAnalyticsKey\n socialAccounts {\n facebook {\n url\n }\n linkedin {\n url\n }\n twitter {\n url\n }\n }\n subtitle\n texts {\n footerPoweredByLink\n footerRssFeedsLink\n formSubscribeBackToPosts\n formSubscribeButton\n formSubscribeDescription\n formSubscribeDoneMessage\n formSubscribeInputPlaceholder\n formSubscribeTitle\n headerSubscribeButton\n menuAllPostsLink\n pageBackLink\n pageNoPostsFoundDescription\n pageNoPostsFoundTitle\n pagePostDetailsPostedBy\n pagePostFeedbackSendButtonLabel\n pagePostFeedbackSentMessage\n pagePostFeedbackTextareaPlaceholder\n pagePostReactionsTitle\n pagePostReactionsLegendBad\n pagePostReactionsLegendNeutral\n pagePostReactionsLegendGood\n pagePostsListWrittenByNoJobTitle\n pagePostsListWrittenByWithJobTitle\n pageShareOnFacebook\n pageShareOnTwitter\n paginationNewerPostsButton\n paginationOlderPostsButton\n }\n title\n useWhiteLabel\n }\n url\n widget {\n autoRefresh\n closeOnEscKey\n closeOnOutsideClick\n fetchLimit\n markAsSeenAfter\n opened\n popup {\n header\n footer\n }\n postExcerptMaxLength\n postExcerptTarget\n texts {\n postBackLink\n postFeedbackSendButtonLabel\n postFeedbackSentMessage\n postFeedbackTextareaPlaceholder\n postReactionsTitle\n postReactionsLegendBad\n postReactionsLegendNeutral\n postReactionsLegendGood\n postViewMoreButton\n }\n trigger {\n displayAfter\n displayCounter\n useEyeCatching\n useSoftHide\n }\n useWhiteLabel\n }\n }\n}","headers":{"Authorization":"Apikey undefined"}},{"name":"Fetch Post","endpoint":"https://api.noticeable.io/graphql","query":"# Fetches post data associated with the given project and post identifiers.\n\n# You must replace YOUR_PROJECT_ID and YOUR_POST_ID by your own values.\n\nquery { \n post(projectId: \"YOUR_PROJECT_ID\", postId: \"YOUR_POST_ID\") {\n author {\n fullName\n jobTitle\n }\n content {\n html\n htmlEscaped\n markdown\n plaintext\n }\n createdAt\n excerpt\n forwardToWebhooks\n id\n isDraft\n labels {\n color\n name\n slug\n }\n permalink\n publicationTime\n segments\n slug\n title\n updatedAt\n }\n}","headers":{"Authorization":"Apikey undefined"}},{"name":"Create Post","endpoint":"https://api.noticeable.io/graphql","query":"# Creates a new post in the specified project.\n\n# You must replace YOUR_PROJECT_ID by your own value.\n# Not all arguments and fields are required.\n# Look at the schema documentation by clicking the green button on the right.\n\nmutation { \n createPost(\n input: {\n projectId: \"YOUR_PROJECT_ID\",\n author: { fullName: \"John Doe\" },\n content: \"Your post content (markdown supported).\",\n forwardToWebhooks: false,\n isDraft: false,\n labels: [{color: \"#1bb142\", name: \"New Feature\", slug: \"new-feature\"}],\n publicationTime: \"2018-04-16T20:24:46Z\",\n title: \"Your post title\"\n }\n ) {\n post {\n id\n permalink\n }\n }\n}","headers":{"Authorization":"Apikey undefined"}},{"name":"Edit Post","endpoint":"https://api.noticeable.io/graphql","query":"# Updates the post with the specified project and post identifiers.\n\n# You must replace YOUR_PROJECT_ID and YOUR_POST_ID by your own values.\n# Only projectId and postId arguments are required.\n# Look at the schema documentation by clicking the green button on the right.\n\nmutation { \n updatePost(\n input: {\n projectId: \"YOUR_PROJECT_ID\",\n postId: \"YOUR_POST_ID\",\n title: \"Your post title\"\n content: \"New content goes here.\"\n }\n ) {\n post {\n permalink\n updatedAt\n }\n }\n}","headers":{"Authorization":"Apikey undefined"}},{"name":"Delete Post","endpoint":"https://api.noticeable.io/graphql","query":"# Deletes the post that is identified by the given project and post identifiers.\n\n# You must replace YOUR_PROJECT_ID and YOUR_POST_ID by your own values.\n# In case of success, you can retrieve information about the post which has been deleted.\n\nmutation { \n deletePost(\n input: {\n projectId: \"YOUR_PROJECT_ID\",\n postId: \"YOUR_POST_ID\",\n }\n ) {\n post {\n id\n permalink\n title\n }\n }\n}","headers":{"Authorization":"Apikey undefined"}}],"canSaveConfig":false}