Skip to content
Cloud infrastructure/devops

gitlab.com

Test against the GitLab REST API

A hosted, stateful simulation shaped like the GitLab REST API. Writes persist, data moves on a schedule and every change can fire a signed webhook. Unofficial: not affiliated with gitlab.com.

Operations
281
example request
curl https://<your-gitlab>.slurry.io/api/v4/user \
  -H "Authorization: Bearer slurry_sim_live_..."

Your simulation gets its own hostname, key and IP allow-list. Spec snapshot: version 19.5.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

First 12 of 281.

  • GET/api/v4/projects/{id}/issues/{eventable_id}/resource_iteration_events
  • GET/api/v4/projects/{id}/issues/{eventable_id}/resource_iteration_events/{event_id}
  • GET/api/v4/projects/{id}/issues/{eventable_id}/resource_weight_events
  • GET/api/v4/projects/{id}/issues/{eventable_id}/resource_weight_events/{event_id}
  • GET/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_rules
  • POST/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_rules
  • GET/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_rules/{approval_rule_id}
  • PUT/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_rules/{approval_rule_id}
  • DELETE/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_rules/{approval_rule_id}
  • GET/api/v4/projects/{id}/merge_requests/{merge_request_iid}/blocks
  • POST/api/v4/projects/{id}/merge_requests/{merge_request_iid}/blocks
  • GET/api/v4/projects/{id}/merge_requests/{merge_request_iid}/blocks/{block_id}

Does this simulation differ from the real GitLab REST API?

Tell us about wrong response shapes, status codes, missing endpoints or unrealistic data. If you have a simulation of it, report from its Issues tab so we can see the exact call.

Test against the GitLab REST API: stateful simulation | Slurry