You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/replicated-sdk-apis.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ For information about how to develop against the Replicated SDK API with mock da
14
14
15
15
List details about an application instance, including the app name, location of the Helm chart in the Replicated OCI registry, and details about the current application release that the instance is running.
16
16
17
-
```
18
-
/api/v1/app/info
17
+
```bash
18
+
GET http://replicated:3000/api/v1/app/info
19
19
```
20
20
21
21
Response:
@@ -48,8 +48,8 @@ Response:
48
48
49
49
List details about an application status, including the list of individual resource states and the overall application state.
50
50
51
-
```
52
-
/api/v1/app/status
51
+
```bash
52
+
GET http://replicated:3000/api/v1/app/status
53
53
```
54
54
55
55
Response:
@@ -77,8 +77,8 @@ Response:
77
77
78
78
List details about the releases that are available to an application instance for upgrade, including the version label, created timestamp, and release notes.
79
79
80
-
```
81
-
/api/v1/app/updates
80
+
```bash
81
+
GET http://replicated:3000/api/v1/app/updates
82
82
```
83
83
84
84
Response:
@@ -97,8 +97,8 @@ Response:
97
97
98
98
List details about the releases that an application instance has installed previously.
99
99
100
-
```
101
-
/api/v1/app/history
100
+
```bash
101
+
GET http://replicated:3000/api/v1/app/history
102
102
```
103
103
104
104
Response:
@@ -190,8 +190,8 @@ Response: Status `200` OK
190
190
191
191
List details about the license that was used to install, including the license ID, type, the customer name, and the channel the customer is assigned.
192
192
193
-
```
194
-
/api/v1/license/info
193
+
```bash
194
+
GET http://replicated:3000/api/v1/license/info
195
195
```
196
196
197
197
Response:
@@ -234,8 +234,8 @@ Response:
234
234
235
235
List details about all the fields in the license that was used to install, including the field names, descriptions, values, and signatures.
236
236
237
-
```
238
-
/api/v1/license/fields
237
+
```bash
238
+
GET http://replicated:3000/api/v1/license/fields
239
239
```
240
240
241
241
Response:
@@ -268,13 +268,13 @@ Response:
268
268
269
269
List details about one of the fields in the license that was used to install, including the field name, description, value, and signature.
270
270
271
-
```
272
-
/api/v1/license/fields/\{field_name\}
271
+
```bash
272
+
GET http://replicated:3000/api/v1/license/fields/\{field_name\}
@@ -378,7 +378,7 @@ Get mock data that is used when Development Mode is enabled.
378
378
379
379
Programmatically set mock data that is used when Development Mode is enabled. The payload will overwrite the existing mock data. Any data that is not included in the payload will be removed. For example, to remove release data, simply include empty arrays:
380
380
381
-
```
381
+
```bash
382
382
POST http://replicated:3000/api/v1/integration/mock-data
0 commit comments