swagger: '2.0'
info:
title: GitLab access_requests chaos API
version: v4
description: Operations related to access requests
host: gitlab.com
produces:
- application/json
tags:
- name: chaos
description: Operations about chaos
paths:
/api/v4/chaos/test:
get:
summary: Chaos test endpoint for feature flag observability
description: 'Picks a project by random ID and checks the `ebonet_chaos_tests` feature flag.
When enabled, introduces a 20% chance of a 500 error and a 20% chance of
a 300ms delay. Returns 200 OK otherwise.
'
produces:
- application/json
responses:
'200':
description: OK
'401':
description: Unauthorized
'403':
description: Forbidden
'500':
description: Internal Server Error (chaos-induced)
tags:
- chaos
operationId: getApiV4ChaosTest
securityDefinitions:
access_token_header:
type: apiKey
name: PRIVATE-TOKEN
in: header
access_token_query:
type: apiKey
name: private_token
in: query