Skip to content

Commit af72540

Browse files
committed
add schema endpoint
1 parent cc1f7b6 commit af72540

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: ''
3+
---
4+
{%- assign cache_key = context.version | append: '-lsp-graphql-schema' -%}
5+
{%- cache cache_key -%}
6+
{%- capture url -%}https://deidcfp1yn7c2.cloudfront.net/platform_docs/{{ context.version }}/schema.graphql{%- endcapture -%}
7+
{%- assign data = url | download_file | force_encoding: 'UTF-8' -%}
8+
{{ data }}
9+
{%- endcache -%}
10+

0 commit comments

Comments
 (0)