Issue with the "Machines" doc

Open Beginner friendly
#2,187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Domain
api, documentation

Research direction

Update machines/api/machines-resource.html.markerb, which documents the Machines /stop endpoint. Compare the documented optional parameters with the reported 400 response when they are omitted, then revise the endpoint documentation so its required request behavior is accurate. Done means the page no longer implies that an invalid parameter-free request succeeds.

Written by the indexing model from the issue text.

Description

I found an issue with this document.

Title: Machines
Location: https://fly.io/docs/machines/api/machines-resource/
Source: https://github.com/superfly/docs/blob/main/machines/api/machines-resource.html.markerb

Describe the issue

It seems that the /stop endpoint requires the optional parameters listed. If they are omitted you get a parse error returned from the server.

Additional info

Error returned: {"error":"json: cannot unmarshal array into Go value of type main.stopRequest"}
Error returned via CURL: HTTP/1.1 400 Bad Request
content-length: 0
date: Tue, 19 Aug 2025 06:35:20 GMT

Dominant language
HTML
Stars
128
Forks
1.1k
Avg merge
4d 15h
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from superfly/docs

All issues in superfly/docs

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.