Skip to content

Instantly share code, notes, and snippets.

View cachrisman's full-sized avatar

Charlie Chrisman cachrisman

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- UI Extensions CSS -->
<link rel="stylesheet" href="//contentful.github.io/ui-extensions-sdk/cf-extension.css">
<!-- UI Extensions SDK -->
<script src="//contentful.github.io/ui-extensions-sdk/cf-extension-api.js"></script>
<style>
(function(extension) {
if (typeof showdown !== 'undefined') {
// global (browser or nodejs global)
extension(showdown);
} else if (typeof define === 'function' && define.amd) {
// AMD
define(['showdown'], extension);
} else if (typeof exports === 'object') {
// Node, CommonJS-like
module.exports = extension(require('showdown'));
{
"sys": {
"type": "Array"
},
"total": 4,
"skip": 0,
"limit": 100,
"items": [
{
"sys": {
{
"sys": {
"type": "Array"
},
"total": 4,
"skip": 0,
"limit": 100,
"items": [
{
"sys": {
[
{
"sys": "...",
"fields": {
"name": "Root",
"subcategory": [
{
"sys": "...",
"fields": {
"name": "Painting",
/**
* function to be triggered by a Contentful webhook if changes are applied to
* an Entry through Contentful's management API.
*
* Event flow:
*
* 1. Parse the incoming data and headers from Contentful
* 2. Use Contentful's management API to resolve a user id to a user name
* 3. Format a message compatible with Slack's incoming webhooks
* 4. Post to Slack
/**
* function to be triggered by a Contentful webhook if changes are applied to
* an Entry through Contentful's management API.
*
* Event flow:
*
* 1. Parse the incoming data and headers from Contentful
* 2. Use Contentful's management API to resolve a user id to a user name
* 3. Format a message compatible with Slack's incoming webhooks
* 4. Post to Slack
{"blame":[],"app_name":"bose-connect-ios","timestamp":"2017-03-30 15:08:00.64 -0700","app_version":"3.1","slice_uuid":"a924cfb8-b957-3de9-bc8a-f7555e592515","adam_id":1046510029,"build_version":"5","bundleID":"com.bose.boseconnect","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 10.2 (14C92)","incident_id":"56AEB31E-C345-47AB-A791-B0316CE34449","name":"bose-connect-ios","symbolicated":true}
Incident Identifier: 56AEB31E-C345-47AB-A791-B0316CE34449
CrashReporter Key: 5f697fa4d9cb662c87d0c5685bfc1281e79cd1df
Hardware Model: iPhone8,2
Process: bose-connect-ios [17732]
Path: /private/var/containers/Bundle/Application/231E1208-4CB7-4023-97CD-01DC5396AEE1/bose-connect-ios.app/bose-connect-ios
Identifier: com.bose.boseconnect
Version: 5 (3.1)
Code Type: ARM-64 (Native)
Role: Foreground
{"blame":[],"app_name":"FileProvider","timestamp":"2017-03-21 10:50:43.96 -0700","app_version":"4.2017.05216","slice_uuid":"5736df9e-6107-38f3-a4d7-c51e7da0c257","adam_id":507874739,"build_version":"4.2017.05216","bundleID":"com.google.Drive.FileProviderExtension","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 10.2 (14C92)","incident_id":"1022C83F-8C04-47C7-9C9D-3491969A4AD0","name":"FileProvider","symbolicated":true}
Incident Identifier: 1022C83F-8C04-47C7-9C9D-3491969A4AD0
CrashReporter Key: 5f697fa4d9cb662c87d0c5685bfc1281e79cd1df
Hardware Model: iPhone8,2
Process: FileProvider [832]
Path: /private/var/containers/Bundle/Application/37C1CC1B-1585-4C7B-8FDF-ACF4122C2CA6/Drive.app/PlugIns/FileProvider.appex/FileProvider
Identifier: com.google.Drive.FileProviderExtension
Version: 4.2017.05216 (4.2017.05216)
Code Type: ARM-64 (Native)
Role: Unspecified
8889180829
8885768433
8885768470
8885768531
8885768557
8885768561
8885768568
8885768573
8885768584