nklein / lisp-motd-server

This is code for a Lisp Message-Of-The-Day server using AWS Lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lisp MOTD Server

This package depends on the runtime provided in the aws-lambda-lisp-runtime repository.

Supported Methods

All methods take JSON input and produce JSON output.

GetMessages

The GetMessages function takes the following input:

{
  "category": <string>,
  "since": <number>
}

The method returns all items in the given category which have been modified since the unix timestamp given in since.

The returned data is an array of items of the form:

{
  "GUID": <string>,
  "Category": <string>,
  "CreatedAt": <number>,
  "UpdateAt": <number>,
  "ExpiresAt": <number>,
  "Translations": {
     <langCode>: <string>,
     <langCode>: <string>,
     ...
  },
  "Tags": {
     <string>,
     <string>,
     ...
  }
}

About

This is code for a Lisp Message-Of-The-Day server using AWS Lambda

License:The Unlicense


Languages

Language:Common Lisp 93.1%Language:Makefile 6.9%