Skip to content

Instantly share code, notes, and snippets.

View bendavis78's full-sized avatar

Ben Davis bendavis78

  • O'Reilly Media
  • Dallas, TX
View GitHub Profile
# TODO:
# * Add authentication schemes
# * Venue registration
## http://docs.aws.amazon.com/cognito/devguide/identity/developer-authenticated-identities/
# * WePay workflow
swagger: '2.0'
info:
version: 1.0.0
title: All ATX
<html>
<body>
<p>
<button onclick="hello('facebook').login()">Log in</button>
<div id="status"></div>
</p>
<p>
<button onclick="createObject()">Create Object</button>
</p>
<script src="bower_components/hello/dist/hello.all.js"></script>
<html>
<head>
<style>
body {
padding: 20px;
}
output {
font-family: monospace;
white-space: pre;
}
/* global AWS, CryptoJS */
(function() {
var AWS_SHA_256 = 'AWS4-HMAC-SHA256';
var AWS4_REQUEST = 'aws4_request';
var AWS4 = 'AWS4';
var X_AMZ_DATE = 'X-Amz-Date';
var X_AMZ_SECURITY_TOKEN = 'X-Amz-Security-Token';
var HOST = 'host';
var AUTHORIZATION = 'Authorization';
<html>
<head>
<style>
body {
padding: 20px;
}
output {
font-family: monospace;
white-space: pre;
}
/* global CryptoJS */
(function() {
var AWS_SHA_256 = 'AWS4-HMAC-SHA256';
var AWS4_REQUEST = 'aws4_request';
var AWS4 = 'AWS4';
var X_AMZ_DATE = 'x-amz-date';
var X_AMZ_SECURITY_TOKEN = 'x-amz-security-token';
var HOST = 'host';
var AUTHORIZATION = 'Authorization';
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "All ATX",
"description": "under development",
"contact": {
"name": "Touch Titans",
"email": "[email protected]",
"url": "http://touchtitans.com"
<!DOCTYPE html>
<html>
<head>
<style>/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figur
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "All ATX",
"description": "under development",
"contact": {
"name": "Touch Titans",
"email": "[email protected]",
"url": "http://touchtitans.com"
# TODO:
# * Add authentication schemes
# * How will venue logins be handled?
## * http://docs.aws.amazon.com/cognito/devguide/identity/developer-authenticated-identities/
# * Figure out how auth workflow factors into the API
# * Figure out how wepay workflow factors into the API
swagger: '2.0'
info:
version: 1.0.0