Skip to content

Instantly share code, notes, and snippets.

@stefan2410
stefan2410 / Overview2.md
Last active August 19, 2018 10:05
Overview _Amplify API

Entities

Users read-only a single person's access to Outbrain services. Users have permissions on one or more Marketer accounts. Users cannot be managed via this API and must be created with the help of your Outbrain contact.

Marketers read-only Marketers are representatives of Outbrain customers. A single Marketer may control campaigns for more than one end-buyer.Marketers cannot be created via the API and must be created via the site or by an Outbrain Account Manager.

PromotedLink describes a single piece of promoted content

@stefan2410
stefan2410 / MainForWebListener.cs
Created December 30, 2016 07:30
main method for WebListener in ASP.Net Core 1.1
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Net.Http.Server;
using Microsoft.Extensions.Configuration;
@stefan2410
stefan2410 / APIAuthUserSession.cs
Last active August 29, 2015 14:17
TestSession
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Funq;
using ServiceStack;
using ServiceStack.Auth;
namespace grm.service.auth
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Funq;
using ServiceStack;
using ServiceStack.Host;
using ServiceStack.Host.Handlers;
using ServiceStack.Web;