Skip to content

sebastinto/bulletin-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bulletin-api

A simple API for demonstrating fetching data with the Bulletin library.

Note: I'm using Vercel's Hobbyist Tier so please be respectful of the limitations this comes with, thanks!

Endpoints

Endpoint for demo bulletin in JSON format can be found here: https://bulletin-api.vercel.app/api/data

API status endpoint: https://bulletin-api.vercel.app/api/status

JSON

Click to see JSON sample
[
   {
      "time":1652229320349,
      "label":"1.0.0-RC2",
      "changes":[
         {
            "changeType":"NEW",
            "summary":"Bulletin is easy!"
         },
         {
            "changeType":"DEFAULT",
            "summary":"Kotlin DSL FTW!"
         }
      ]
   },
   {
    "more..."
   }
]
Click to see JSON schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": [
    {
      "type": "object",
      "properties": {
        "time": {
          "type": "integer"
        },
        "label": {
          "type": "string"
        },
        "changes": {
          "type": "array",
          "items": [
            {
              "type": "object",
              "properties": {
                "changeType": {
                  "type": "string"
                },
                "summary": {
                  "type": "string"
                }
              },
              "required": [
                "changeType",
                "summary"
              ]
            },
            {
              "type": "object",
              "properties": {
                "changeType": {
                  "type": "string"
                },
                "summary": {
                  "type": "string"
                }
              },
              "required": [
                "changeType",
                "summary"
              ]
            }
          ]
        }
      },
      "required": [
        "time",
        "label",
        "changes"
      ]
    }
  ]
}

About

API for Bulletin library URL fetch demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published