Newer
Older
swagger: "2.0"
info:
title: Cache Service
description: The cache service exposes interface for working with Redis.
version: ""
- application/json
- application/xml
- application/gob
- application/json
- application/xml
- application/gob
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/liveness:
get:
tags:
- health
summary: Liveness health
operationId: health#Liveness
responses:
"200":
description: OK response.
schemes:
- http
/readiness:
get:
tags:
- health
summary: Readiness health
operationId: health#Readiness
responses:
"200":
description: OK response.
schemes:
- http
/v1/cache:
get:
tags:
- cache
summary: Get cache
description: Get JSON value from the cache.
operationId: cache#Get
produces:
- application/json
parameters:
- name: x-cache-key
in: header
description: Cache entry key
required: true
type: string
- name: x-cache-namespace
in: header
description: Cache entry namespace
required: false
type: string
- name: x-cache-scope
in: header
description: Cache entry scope
required: false
type: string
responses:
"200":
description: OK response.
schema:
type: string
format: binary
schemes:
- http
post:
tags:
- cache
summary: Set cache
description: Set a JSON value in the cache.
operationId: cache#Set
parameters:
- name: x-cache-key
in: header
description: Cache entry key
required: true
type: string
- name: x-cache-namespace
in: header
description: Cache entry namespace
required: false
type: string
- name: x-cache-scope
in: header
description: Cache entry scope
required: false
type: string
- name: x-cache-ttl
in: header
description: Cache entry TTL in seconds
required: false
type: integer
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
- name: any
in: body
required: true
schema:
type: string
format: binary
responses:
"201":
description: Created response.
schemes:
- http
/v1/external/cache:
post:
tags:
- cache
summary: SetExternal cache
description: Set an external JSON value in the cache and provide an event for the input.
operationId: cache#SetExternal
parameters:
- name: x-cache-key
in: header
description: Cache entry key
required: true
type: string
- name: x-cache-namespace
in: header
description: Cache entry namespace
required: false
type: string
- name: x-cache-scope
in: header
description: Cache entry scope
required: false
type: string
- name: x-cache-ttl
in: header
description: Cache entry TTL in seconds
required: false
type: integer