NASA-AMMOS / NASA-AMMOS/MMGIS

[Documentation]: /upsert docs don't clarify that at least one of version or config is required

Open Beginner friendly
#963 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
JavaScript
Stars
232
Forks
77
Avg merge
3d 6h
Merged PRs (30d)
17

Description

The /upsert documentation (docs/pages/APIs/Configure/Configure_REST_API.md) marks both version and config as optional, but at least one must be provided. If neither is supplied, configJSON is undefined and the request crashes. The docs (and OpenAPI spec at docs/mmgis-openapi.json) should clarify this mutual dependency.

From #333

Contributor guide

Open the contributing guide

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.

Research direction

Start with docs/pages/APIs/Configure/Configure_REST_API.md and compare the /upsert parameter descriptions with docs/mmgis-openapi.json. Clarify that at least one of version or config is required, including the failure case when neither is supplied. Done when both documentation sources communicate this mutual dependency consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.