Skip to content

docs(api): document release_notes on app upload (port of #3571 to testmuCom) - #3577

Open
srivastavaayush1611LT wants to merge 1 commit into
LambdaTest:testmuComfrom
srivastavaayush1611LT:docs/te-28942-release-notes-spec-testmucom
Open

srivastavaayush1611LT wants to merge 1 commit into
LambdaTest:testmuComfrom
srivastavaayush1611LT:docs/te-28942-release-notes-spec-testmucom

Conversation

@srivastavaayush1611LT

Copy link
Copy Markdown
Contributor

What

Ports #3571 (merged to stage) onto testmuCom, so the change reaches the live site.

Adds the release_notes form field to POST /app/upload/realDevice in api-specs/app-automation.yaml — request body and 200 response — with the two storage limits in the field description.

api-specs/app-automation.yaml on this branch is byte-identical to the file now on stage (blob dcf316d8). testmuCom's previous copy was the same blob stage had before #3571, so this is a clean port with no re-resolution.

Why the limits are prose, not schema

Neither limit fails the upload, so a caller cannot discover them from a response code:

  • a note over 1100 characters is stored up to that limit, the rest is dropped
  • emoji and non-Latin scripts are not supported

maxLength: 1100 is declared for codegen and schema validators, but scripts/build-api-data.js emits only {name, type, required, description, enum} per field, so it renders nowhere on the site. Hence the description text.

Verification

Ran this repo's own build scripts against the edited spec, js-yaml pinned to 3.14.0 to match package-lock.json:

  • build-api-data.js emits release_notes in both the request-body properties and the 200 response schema
  • full built all-apis.json diffed against a baseline from the current testmuCom copy — only the intended additions, nothing else moved
  • generate-api-pages.js regenerates cleanly

Renders at /support/api-doc/app-automation-api-real-devices/application-appium/upload-application-to-a-real-device-server-1/ as a new row under visibility.

Note

api-specs/README.md lists this file's upstream as https://app-automation-apis-docs.lambdatest.com/mobile_automation.yaml, which does not yet carry release_notes — the matching change is real-mobile-apis-automation#2253, still open. Until that reaches its repo's prod, re-running the README's refresh one-liner for this file will revert it.

🤖 Generated with Claude Code

Ports the change merged to stage in LambdaTest#3571 — the release_notes form field on
the real-device upload endpoint, with the 1100-character cap and the
unsupported-character note in the field description.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant