wiki.techinc.nl/tests/api-testing/REST
daniel d0f4e4514f REST: showcase usage of ArrayDef convenience functions
This demonstrates how to use ArrayDef::makeObjectSchema to define a
schema for a complex body field.

The "latest" field in the request body for page PUT requests identifies
the base revision. To allow the base revision info to be looped through
from an earlier GET request, it's nice to allow the "timestamp" field
to be present, even though we don't use it.

I changed the relevant part of Update.js to test that use case specifically.

Bug: T368131
Change-Id: I166396e0dbfc995e5346252ee438c9afe2c808e2
2024-07-25 16:54:18 +00:00
..
Creation.js api-testing/REST/Creation.js: Reset REST client before each test run 2024-07-10 10:24:27 +02:00
Page.js api-testing/REST/Page.js: Use authenticated user for edits 2024-07-10 23:06:32 +02:00
PageHistory.js api-testing/REST/PageHistory.js: update tests for temp account 2024-07-11 09:27:21 +00:00
Revision.js api-testing: Increase highest expected revId 2024-01-31 16:41:11 +01:00
Search.js ESLint: Enforce prefer-arrow-callback and autofix 2024-06-11 19:03:54 +01:00
Swagger.js REST: Generate request body specs from param settings. 2024-07-10 20:23:56 +02:00
Transform.js ESLint: Enforce prefer-arrow-callback and autofix 2024-06-11 19:03:54 +01:00
Update.js REST: showcase usage of ArrayDef convenience functions 2024-07-25 16:54:18 +00:00