Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add /templates endpoint as an alternative to TLS #59

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

nytamin
Copy link
Contributor

@nytamin nytamin commented Feb 15, 2023

(replaces #57)

This PR is co-authored by Alex Van Camp vancamp.alex@gmail.com.

This PR adds a /templates endpoint as an alternative to TLS. The endpoint returns a JSON object containing more detailed template info, and allows for adding more info later if needed.

It also implements support for Graphics Data Definitions as specified by https://github.com/SuperFlyTV/GraphicsDataDefinition

The idea with this PR is to allow a later version of CasparCG to use the /tls-json enpoint, but still be backwards compatible with older versions of CasparCG.

…data in JSON-format along with optional Graphics Data Definition-data when possible.

Co-authored by: Alex Van Camp <vancamp.alex@gmail.com>

This PR adds a /tls-json endpoint as an alternative to TLS. It returns a JSON object containing template info.

It also implements support for Graphics Data Definitions as specified by https://github.com/SuperFlyTV/GraphicsDataDefinition
src/app.js Outdated Show resolved Hide resolved
src/app.js Show resolved Hide resolved
and set content-type to application/json
@nytamin nytamin changed the title feat: Add /tls-json endpoint as an alternative to TLS feat: Add /templates endpoint as an alternative to TLS Feb 16, 2023
@Julusian Julusian merged commit 4997e91 into CasparCG:master Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants