Created
May 16, 2019 20:45
-
-
Save chasers/c1ac789a22098047be228048968e940d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%{ | |
"app" => %{ | |
"adminVisible" => false, | |
"agreements" => nil, | |
"alias" => "", | |
"author" => "", | |
"categoryIds" => nil, | |
"codeVersion" => "", | |
"color" => "", | |
"created" => nil, | |
"icon" => "", | |
"id" => "", | |
"infoVersion" => "", | |
"installable" => false, | |
"instructions" => "", | |
"longDescription" => "", | |
"orgId" => "", | |
"points" => 0, | |
"privacyPolicyURL" => "", | |
"products" => nil, | |
"screenshots" => nil, | |
"shortDescription" => "", | |
"source" => "", | |
"sourceURL" => "", | |
"supportEmail" => "", | |
"tagline" => "", | |
"termsOfServiceURL" => "", | |
"tileImage" => "", | |
"title" => "", | |
"userVisible" => false, | |
"website" => "" | |
}, | |
"authentications" => %{ | |
"account" => %{ | |
"account" => %{ | |
"account" => %{}, | |
"created" => "2019-05-16T20:43:14.851622497Z", | |
"createdForInstallId" => "NRTJVpOKpfPX", | |
"id" => "g4CBR92FBj8h", | |
"lastAuthed" => "2019-05-16T20:43:14.84902095Z", | |
"lastUsed" => nil, | |
"managed" => false, | |
"orgId" => "", | |
"service" => %{ | |
"alias" => "logflare-dev", | |
"approved" => true, | |
"created" => "2019-02-11T23:39:51.876478Z", | |
"description" => "Tail -f your Cloudflare logs!", | |
"endpoints" => %{ | |
"apiProvision" => "", | |
"metadata" => "", | |
"oauthProvision" => "" | |
}, | |
"icon" => "https://images.cloudflareapps.com/cXWvB_VkivbA/Screen%20Shot%202019-02-06%20at%209.40.05%20AM.png", | |
"id" => "vl-RLcuXuIDn", | |
"metadata" => %{ | |
"hasRegistration" => true, | |
"modalHeight" => 600, | |
"modalWidth" => 400 | |
}, | |
"oAuth" => %{ | |
"default" => %{ | |
"authURL" => "http://localhost:4000/oauth/authorize", | |
"clientID" => "f9775ffc156add17f6e8449acef4567e694ad9f2b63f4d2162cb220ef0ff6e1f", | |
"clientSecret" => "\"\"", | |
"scopes" => ["read", "write", "public"], | |
"tokenURL" => "http://dev.chasegranberry.net/oauth/token" | |
} | |
}, | |
"org" => %{ | |
"created" => nil, | |
"id" => "15bb3b1204d40e15413d371825e57ee6", | |
"permissions" => nil, | |
"personal" => true, | |
"title" => "", | |
"username" => "15bb3b1204d40e15413d371825e57ee6" | |
}, | |
"orgId" => "15bb3b1204d40e15413d371825e57ee6", | |
"points" => 0, | |
"title" => "Logflare Dev", | |
"visible" => true | |
}, | |
"serviceId" => "vl-RLcuXuIDn", | |
"state" => 1, | |
"title" => "", | |
"visible" => true | |
}, | |
"token" => %{ | |
"expiration" => "2019-05-16T22:43:14.84898885Z", | |
"extra" => %{ | |
"created_at" => "2019-05-16T20:43:13", | |
"scope" => "read write public" | |
}, | |
"refreshToken" => "39b7f9a6ae02701fc3f80e54c24d194f6a1b0c00d337f9129728d2fbc40fa5db", | |
"token" => "002ede7e4dbbd214f74c14c85a62d35455ef35af5a4c75a6d02e535d3ef65fbc", | |
"type" => "bearer" | |
} | |
} | |
}, | |
"event" => "oauth-login", | |
"install" => %{ | |
"active" => true, | |
"amount" => 0, | |
"appId" => "local", | |
"created" => nil, | |
"deactivatedAt" => nil, | |
"deleted" => false, | |
"id" => "NRTJVpOKpfPX", | |
"installerUserId" => "", | |
"metadata" => %{"userId" => "15bb3b1204d40e15413d371825e57ee6"}, | |
"options" => %{ | |
"account" => %{"accountId" => "g4CBR92FBj8h", "service" => "logflare-dev"}, | |
"source" => "signin" | |
}, | |
"pastDue" => false, | |
"productId" => "", | |
"refundedAt" => nil, | |
"schema" => %{ | |
"properties" => %{ | |
"account" => %{ | |
"_show" => true, | |
"format" => "account", | |
"order" => 1, | |
"productDefinitions" => [], | |
"properties" => %{}, | |
"required" => true, | |
"services" => ["logflare-dev"], | |
"title" => "Logflare Account", | |
"type" => "object" | |
}, | |
"source" => %{ | |
"_show" => false, | |
"default" => "signin", | |
"description" => "Which source should we send logs to?", | |
"enum" => ["signin"], | |
"enumNames" => %{"signin" => "Sign in to select a source"}, | |
"order" => 2, | |
"productDefinitions" => [], | |
"required" => true, | |
"showIf" => %{"account" => %{"op" => "!=", "value" => ""}}, | |
"title" => "Source", | |
"type" => "string" | |
} | |
}, | |
"type" => "object" | |
}, | |
"siteId" => "preview", | |
"subscriptionId" => "", | |
"versionTag" => "Rs7afI9Ucqw0", | |
"workers" => [%{"src" => "./build/worker.js"}] | |
}, | |
"metadata" => %{ | |
"code" => "5d1e96a4547ed13d9b1c0b14797fee76e09975673710630151aa51e36eb2b4c4", | |
"key" => "account", | |
"serviceId" => "vl-RLcuXuIDn" | |
}, | |
"nonce" => "huSif0QG7fCE", | |
"org" => %{ | |
"created" => nil, | |
"id" => "", | |
"permissions" => nil, | |
"personal" => false, | |
"title" => "", | |
"username" => "" | |
}, | |
"site" => %{"active" => false, "id" => "", "name" => "", "orgId" => ""}, | |
"timestamp" => 1558039394, | |
"user" => %{ | |
"created" => nil, | |
"developer" => false, | |
"email" => "", | |
"firstName" => "", | |
"id" => "15bb3b1204d40e15413d371825e57ee6", | |
"lastName" => "", | |
"personalOrgId" => "", | |
"username" => "15bb3b1204d40e15413d371825e57ee6" | |
}, | |
"version" => %{ | |
"appId" => "local", | |
"created" => nil, | |
"creatorUserId" => "", | |
"definition" => %{ | |
"hooks" => [ | |
%{ | |
"authenticate" => ["account"], | |
"block" => true, | |
"endpoint" => "http://dev.chasegranberry.net/webhooks/cloudflare/v1", | |
"events" => ["option-change:account", "oauth-login"], | |
"failure" => %{ | |
"action" => "notify", | |
"message" => "There was an error communicating with Logflare." | |
} | |
} | |
], | |
"options" => %{ | |
"properties" => %{ | |
"account" => %{ | |
"format" => "account", | |
"order" => 1, | |
"required" => true, | |
"services" => ["logflare-dev"], | |
"title" => "Logflare Account", | |
"type" => "object" | |
}, | |
"source" => %{ | |
"description" => "Which source should we send logs to?", | |
"enum" => ["signin"], | |
"enumNames" => %{"signin" => "Sign in to select a source"}, | |
"order" => 2, | |
"required" => true, | |
"showIf" => %{"account" => %{"op" => "!=", "value" => ""}}, | |
"title" => "Source", | |
"type" => "string" | |
} | |
} | |
}, | |
"preview" => %{"hide" => true}, | |
"workers" => [%{"priority" => 500, "src" => "./build/worker.js"}] | |
}, | |
"fileHandle" => "local/Rs7afI9Ucqw0", | |
"files" => [], | |
"hasCode" => true, | |
"installable" => false, | |
"manual" => true, | |
"moderationStatus" => "", | |
"releaseNotes" => "", | |
"source" => "", | |
"tag" => "Rs7afI9Ucqw0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment