Skip to content

Commit

Permalink
Deployed 3ec8398 with MkDocs version: 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
systemli[bot] committed Jun 1, 2024
0 parents commit b033e04
Show file tree
Hide file tree
Showing 52 changed files with 11,735 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
429 changes: 429 additions & 0 deletions 404.html

Large diffs are not rendered by default.

478 changes: 478 additions & 0 deletions api/index.html

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
basePath: /v1
definitions:
response.Error:
properties:
code:
type: integer
message:
type: string
type: object
response.InitResponse:
properties:
data:
properties:
settings:
properties:
refreshInterval:
type: integer
type: object
ticker:
properties:
createdAt:
type: string
description:
type: string
domain:
type: string
id:
type: integer
information:
properties:
author:
type: string
email:
type: string
facebook:
type: string
telegram:
type: string
twitter:
type: string
url:
type: string
mastodon:
type: string
status:
type: string
error:
$ref: "#/definitions/response.Error"
response.TimelineResponse:
properties:
data:
properties:
messages:
items:
properties:
id:
type: integer
createdAt:
type: string
text:
type: string
geoInformation:
type: string
attachments:
items:
properties:
url:
type: string
contentType:
type: string
type: array
type: array
status:
type: string
error:
$ref: "#/definitions/response.Error"
response.ErrorResponse:
properties:
data:
type: string
error:
$ref: "#/definitions/response.Error"
status:
type: string
type: object
host: localhost:8080
info:
contact:
email: [email protected]
name: Systemli Admin Team
url: https://www.systemli.org/en/contact/
description:
Service to distribute short messages in support of events, demonstrations,
or other time-sensitive events.
license:
name: GPLv3
url: https://www.gnu.org/licenses/gpl-3.0.html
title: Ticker API
version: "2.0"
paths:
/init:
get:
consumes:
- application/json
description: |-
The first request for retrieving information about the ticker. It is mandatory that the browser sends
the origin as a header. This can be overwritten with a query parameter.
parameters:
- description: Origin from the ticker, e.g. demoticker.org
in: query
name: origin
type: string
- description: Origin from the ticker, e.g. http://demoticker.org
in: header
name: origin
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: "#/definitions/response.InitResponse"
"500":
description: Internal Server Error
schema:
$ref: "#/definitions/response.ErrorResponse"
summary: Retrieves the initial ticker configuration
tags:
- public
/timeline:
get:
consumes:
- application/json
description: |-
Endpoint to retrieve the messages from a ticker. The endpoint has a pagination to fetch newer or older
messages. It is mandatory that the browser sends the origin as a header. This can be overwritten with
a query parameter.
parameters:
- description: Origin from the ticker, e.g. demoticker.org
in: query
name: origin
type: string
- description: Origin from the ticker, e.g. http://demoticker.org
in: header
name: origin
type: string
- description: "Limit for fetched messages, default: 10"
in: query
name: limit
type: integer
- description: ID of the message we look for older entries
in: query
name: before
type: integer
- description: ID of the message we look for newer entries
in: query
name: after
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: "#/definitions/response.TimelineResponse"
"400":
description: Bad Request
schema:
$ref: "#/definitions/response.ErrorResponse"
"500":
description: Internal Server Error
schema:
$ref: "#/definitions/response.ErrorResponse"
summary: Fetch the messages for a ticker.
tags:
- public
swagger: "2.0"
Binary file added assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions assets/javascripts/bundle.51d95adb.min.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions assets/javascripts/bundle.51d95adb.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/javascripts/lunr/min/lunr.ar.min.js

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.da.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.de.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b033e04

Please sign in to comment.