Skip to content

Commit 814fac0

Browse files
committed
updated docs
1 parent 0edbe9b commit 814fac0

9 files changed

+75
-262
lines changed

docs/.gitbook/assets/openapi (1).yml

-98
This file was deleted.

docs/.gitbook/assets/openapi (2).yml

-88
This file was deleted.

docs/.gitbook/assets/openapi.yml

+8-18
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ paths:
77
post:
88
summary: The path to which you will send your GraphQL requests - this is where the caching happens.
99
description: |
10-
Configuration:
11-
- _TOML_: `handlers_graphql_path`
12-
- _ENV_: `ORBIT_HANDLERS_GRAPHQL_PATH`
10+
Congiruable using handlers_graphql_path (in config.toml) or ORBIT_HANDLERS_GRAPHQL_PATH (using environment variables)
1311
requestBody:
1412
required: true
1513
content:
@@ -35,23 +33,19 @@ paths:
3533
type: object
3634
errors:
3735
type: object
38-
/flush-all:
36+
/flush:
3937
post:
4038
summary: The path to flush all cached data.
4139
description: |
42-
Configuration:
43-
- _TOML_: `handlers_flush_all_path`
44-
- _ENV_: `ORBIT_HANDLERS_FLUSH_ALL_PATH`
40+
Congiruable using handlers_flush_all_path (in config.toml) or ORBIT_HANDLERS_FLUSH_ALL_PATH (using environment variables)
4541
responses:
4642
'200':
4743
description: Status indicating success or failure of the flush operation.
48-
/flush-by-type:
44+
/flush.type:
4945
post:
5046
summary: The path to flush cached data by GraphQL type.
5147
description: |
52-
Configuration:
53-
- _TOML_: `handlers_flush_by_type_path`
54-
- _ENV_: `ORBIT_HANDLERS_FLUSH_BY_TYPE_PATH`
48+
Configurable using handlers_flush_by_type_path (in config.toml) or ORBIT_HANDLERS_FLUSH_BY_TYPE_PATH (using environment variables)
5549
requestBody:
5650
required: true
5751
content:
@@ -68,11 +62,9 @@ paths:
6862
description: Status indicating success or failure of the flush operation.
6963
/debug:
7064
get:
71-
summary: The path to access debug information. This only works for `in_memory` cache backend, where it returns the entire cache as a JSON object.
65+
summary: The path to access debug information. This only works for in_memory cache backend, where it returns the entire cache as a JSON object.
7266
description: |
73-
Configuration:
74-
- _TOML_: `handlers_debug_path`
75-
- _ENV_: `ORBIT_HANDLERS_DEBUG_PATH`
67+
Congiruable using handlers_debug_path (in config.toml) or ORBIT_HANDLERS_DEBUG_PATH (using environment variables)
7668
responses:
7769
'200':
7870
description: Debug information in JSON format.
@@ -86,9 +78,7 @@ paths:
8678
get:
8779
summary: The path to check the health status of the service.
8880
description: |
89-
Configuration:
90-
- _TOML_: `handlers_health_path`
91-
- _ENV_: `ORBIT_HANDLERS_HEALTH_PATH`
81+
Congiruable using handlers_health_path (in config.toml) or ORBIT_HANDLERS_HEALTH_PATH (using environment variables)
9282
responses:
9383
'200':
9484
description: Health status in JSON format.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Flush a Resource
22

3-
{% swagger src="../../.gitbook/assets/openapi (2).yml" path="/flush.type" method="post" %}
4-
[openapi (2).yml](<../../.gitbook/assets/openapi (2).yml>)
3+
{% swagger src="../../.gitbook/assets/openapi.yml" path="/flush.type" method="post" %}
4+
[openapi.yml](../../.gitbook/assets/openapi.yml)
55
{% endswagger %}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Flush Everything
22

3-
{% swagger src="../../.gitbook/assets/openapi (2).yml" path="/flush" method="post" %}
4-
[openapi (2).yml](<../../.gitbook/assets/openapi (2).yml>)
3+
{% swagger src="../../.gitbook/assets/openapi.yml" path="/flush" method="post" %}
4+
[openapi.yml](../../.gitbook/assets/openapi.yml)
55
{% endswagger %}

docs/api-reference/get-cache-data.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Get Cache Data
22

3-
{% swagger src="../.gitbook/assets/openapi (2).yml" path="/debug" method="get" %}
4-
[openapi (2).yml](<../.gitbook/assets/openapi (2).yml>)
3+
{% swagger src="../.gitbook/assets/openapi.yml" path="/debug" method="get" %}
4+
[openapi.yml](../.gitbook/assets/openapi.yml)
55
{% endswagger %}
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# GraphQL Endpoint
22

3-
{% swagger src="../.gitbook/assets/openapi (2).yml" path="/graphql" method="post" %}
4-
[openapi (2).yml](<../.gitbook/assets/openapi (2).yml>)
3+
{% swagger src="../.gitbook/assets/openapi.yml" path="/graphql" method="post" %}
4+
[openapi.yml](../.gitbook/assets/openapi.yml)
55
{% endswagger %}

docs/api-reference/healthcheck.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Healthcheck
22

3-
{% swagger src="../.gitbook/assets/openapi (2).yml" path="/health" method="get" %}
4-
[openapi (2).yml](<../.gitbook/assets/openapi (2).yml>)
3+
{% swagger src="../.gitbook/assets/openapi.yml" path="/health" method="get" %}
4+
[openapi.yml](../.gitbook/assets/openapi.yml)
55
{% endswagger %}

0 commit comments

Comments
 (0)