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
+112Lines changed: 112 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,118 @@ Response:
292
292
}
293
293
}
294
294
```
295
+
296
+
## Integration
297
+
298
+
### GET /api/v1/integration/status
299
+
300
+
Get status of Development Mode. When this mode is enabled, the `app` API will use mock data. This value cannot be set programmatically. It is controlled by the installed license.
301
+
302
+
```json
303
+
{
304
+
"isEnabled": true
305
+
}
306
+
```
307
+
308
+
### GET /api/v1/integration/mock-data
309
+
310
+
Get mock data that is used when Development Mode is enabled.
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
+
381
+
```
382
+
POST http://replicated:3000/api/v1/integration/mock-data
0 commit comments