mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 09:26:52 +01:00
* Seed web-services (API v2) knowledge domain Add eight web-services API page knowledge articles (each with .good.al/.bad.al samples), a new al-web-services-review leaf skill, and wire it into al-code-review and the README. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Trim web-services domain to 6 non-duplicative articles Drop API entity-naming/camelCase and DelayedInsert articles (owned by the style domain). Reframe the committed-data and API-versioning articles to stay strictly within the endpoint design/behavior lane, and update the leaf skill's worklist tokens and Output example accordingly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
1 KiB
AL
39 lines
1 KiB
AL
// Additive versioning: v2.0 carries the new shape while v1.0 stays published and
|
|
// unchanged. APIVersion accepts a list, so both contracts are served and
|
|
// existing clients keep working while new clients adopt v2.0.
|
|
page 50354 "WS API Versioning Good"
|
|
{
|
|
PageType = API;
|
|
Caption = 'customer';
|
|
APIPublisher = 'contoso';
|
|
APIGroup = 'sales';
|
|
APIVersion = 'v2.0', 'v1.0';
|
|
EntityName = 'customer';
|
|
EntitySetName = 'customers';
|
|
ODataKeyFields = SystemId;
|
|
SourceTable = Customer;
|
|
DelayedInsert = true;
|
|
|
|
layout
|
|
{
|
|
area(content)
|
|
{
|
|
repeater(records)
|
|
{
|
|
field(id; Rec.SystemId)
|
|
{
|
|
Caption = 'id';
|
|
Editable = false;
|
|
}
|
|
field(number; Rec."No.")
|
|
{
|
|
Caption = 'number';
|
|
}
|
|
field(displayName; Rec.Name)
|
|
{
|
|
Caption = 'displayName';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|