Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit a97d34d

Browse files
github-merge-queue[bot]tfelix
authored andcommitted
docs: update meshStack API docs from latest develop build
1 parent bf99a07 commit a97d34d

13 files changed

+203
-94
lines changed

website/static/billing-api/api_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ <h3 id="_index">Index</h3>
559559
</div>
560560
<div id="footer">
561561
<div id="footer-text">
562-
Last updated 2025-04-02 12:08:26 UTC
562+
Last updated 2025-04-09 12:06:25 UTC
563563
</div>
564564
</div>
565565
</body>

website/static/billing-api/common_data_formats.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ <h3 id="paging">Paging</h3>
519519
</div>
520520
<div id="footer">
521521
<div id="footer-text">
522-
Last updated 2025-04-02 12:08:26 UTC
522+
Last updated 2025-04-09 12:06:25 UTC
523523
</div>
524524
</div>
525525
</body>

website/static/billing-api/index.html

Lines changed: 80 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ <h1>meshcloud meshMetering API Docs</h1>
452452
<li><a href="#data_types">Data Types</a></li>
453453
<li><a href="#hypermedia">Hypermedia</a></li>
454454
<li><a href="#versioning">Versioning</a></li>
455+
<li><a href="#deprecations">Deprecation Policy</a></li>
455456
</ul>
456457
</li>
457458
<li><a href="#_common_data_formats">Common Data Formats</a>
@@ -680,38 +681,92 @@ <h3 id="hypermedia"><a class="link" href="#hypermedia">Hypermedia</a></h3>
680681
<div class="sect2">
681682
<h3 id="versioning"><a class="link" href="#versioning">Versioning</a></h3>
682683
<div class="paragraph">
683-
<p>meshStack applies versioning via custom Media Types. This allows custom versioning per resource.
684-
As meshStack is developed and deployed continuously, this custom versioning per resource is the best
685-
way for applying versioning. If e.g. the meshWorkspace response is modified in an incompatible way,
686-
a new version will be provided for meshWorkspaces and all other resources are untouched.</p>
684+
<p>meshStack&#8217;s meshObject API uses custom media types in the <code>Accept</code> and <code>Content-Type</code> headers for versioning.</p>
685+
</div>
686+
<div class="exampleblock">
687+
<div class="content">
688+
<div class="paragraph">
689+
<p>meshObject API versions each resource like <code>meshWorkspace</code> or <code>meshProject</code> <strong>individually</strong>. This means
690+
you need to specify the specific media type corresponding to the endpoint you are calling.</p>
691+
</div>
692+
</div>
687693
</div>
688694
<div class="paragraph">
689-
<p>If using a request body, such as when inserting a new meshProject via a POST endpoint,
690-
the custom media type must be provided in the <code>Content-Type</code> header. In case of a response body,
691-
such as when requesting a list of all meshWorkspaces via a GET endpoint, the client should send
692-
the custom media type in the <code>Accept</code> header.</p>
695+
<p>For example, when meshStack introduces a new version of the <code>meshWorkspace</code> resource, this has no effect on other
696+
resources like the <code>meshProject</code>. This allows the API to evolve in a granular way.</p>
693697
</div>
694698
<div class="paragraph">
695-
<p>Examples for these headers are:</p>
699+
<p>API clients must always set an <code>Accept</code> header with the explicitly versioned resource media type.
700+
meshObject API will reject requests without an <code>Accept</code> header using a <code>406 Not Acceptable</code> status code.
701+
The correct media type required for a resource is described in the corresponding Resource section in this documentation.
702+
For example, this is the media type required to access the <code>v1</code> version of a <code>meshWorkspace</code> resource:</p>
696703
</div>
697704
<div class="listingblock">
698705
<div class="content">
699706
<pre class="highlightjs highlight"><code class="language-none hljs">Accept: application/vnd.meshcloud.api.meshworkspace.v1.hal+json</code></pre>
700707
</div>
701708
</div>
709+
<div class="paragraph">
710+
<p>Requests that need to send a body like <code>POST</code> or <code>PUT</code> must also set the <code>Content-Type</code> header with the correct media
711+
type. For example, this is the media type required to POST a <code>meshProject</code>:</p>
712+
</div>
702713
<div class="listingblock">
703714
<div class="content">
704-
<pre class="highlightjs highlight"><code class="language-none hljs">Content-Type: application/vnd.meshcloud.api.meshobjectcollection.v1+json;charset=UTF-8</code></pre>
715+
<pre class="highlightjs highlight"><code class="language-none hljs">Content-Type: application/vnd.meshcloud.api.meshproject.v2.hal+json</code></pre>
705716
</div>
706717
</div>
707718
<div class="paragraph">
708-
<p>Which Media Type is required for which resource is described in the according Resource section.
709-
If a request body is required and a different <code>Content-Type</code> like simple <code>application/json</code> is requested,
719+
<p>If a request contains a body and you specify an unsupported or unversioned <code>Content-Type</code> like <code>application/json</code>,
710720
the endpoint will return an error.</p>
711721
</div>
722+
<div class="exampleblock">
723+
<div class="content">
724+
<div class="paragraph">
725+
<p>Endpoints that are documented as <code>preview</code> endpoints in this documentation
726+
are subject to change and we are planning to introduce a new version <strong>without support for backwards compatibility</strong>,
727+
meaning, the preview version will disappear without prior notice!</p>
728+
</div>
729+
<div class="paragraph">
730+
<p>These endpoints have a media type with a <code>-preview</code> suffix (for example,
731+
<code>application/vnd.meshcloud.api.meshbuildingblock.v2-preview.hal+json</code>).</p>
732+
</div>
733+
<div class="paragraph">
734+
<p>You are free to try those endpoints out, but we recommend to wait until the final (non-preview) endpoints are released
735+
before you integrate such endpoints with your infrastructure.</p>
736+
</div>
737+
</div>
738+
</div>
739+
</div>
740+
<div class="sect2">
741+
<h3 id="deprecations"><a class="link" href="#deprecations">Deprecation Policy</a></h3>
742+
<div class="paragraph">
743+
<p>As we introduce new features and enhance existing functionalities, some API endpoints may become obsolete or outdated.
744+
Deprecating old endpoints is important to ensure the health and maintainability of the API.</p>
745+
</div>
746+
<div class="paragraph">
747+
<p>Explicit <a href="#versioning">Versioning</a> provides API clients time to transition to newer versions of endpoints in a controlled manner.</p>
748+
</div>
712749
<div class="paragraph">
713-
<p>If the <code>Accept</code> header is not provided, you may get the response of any version. Therefore please always
714-
provide the <code>Accept</code> header so you are guaranteed to get the resource in the expected format.</p>
750+
<p>Deprecation follows a phased approach.</p>
751+
</div>
752+
<div class="ulist">
753+
<ul>
754+
<li>
755+
<p><strong>outdated</strong>: As soon as a new version of an endpoint becomes available, the old version is considered outdated but
756+
remains fully functional. API clients are advised to migrate to newer versions at their earliest convenience.</p>
757+
</li>
758+
<li>
759+
<p><strong>deprecated</strong>: We have announced an end of life (EoL) date when the endpoint will be removed from the API.
760+
API clients must migrate to newer versions before this date. Until this date, the endpoint remains fully functional.</p>
761+
</li>
762+
<li>
763+
<p><strong>retired</strong>: After the scheduled removal date, the endpoint is removed from the API and no longer available in meshStack.
764+
API clients using the old endpoint will receive an HTTP 406, HTTP 415 or HTTP 404 response as appropriate for the request.</p>
765+
</li>
766+
</ul>
767+
</div>
768+
<div class="paragraph">
769+
<p>Please refer to the <a href="#deprecated-resources">Deprecated Resources</a> section for a list of deprecated and outdated endpoints.</p>
715770
</div>
716771
</div>
717772
</div>
@@ -1048,14 +1103,14 @@ <h3 id="mesh_objects"><a class="link" href="#mesh_objects">meshObjects</a></h3>
10481103

10491104
{
10501105
"_links" : {
1051-
"meshchargebacks" : {
1052-
"href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks{?workspaceIdentifier,projectIdentifier,period,finalized,legacy,finalizedSince,cancelledSince}",
1053-
"templated" : true
1054-
},
10551106
"meshtenantusagereports" : {
10561107
"href" : "https://mesh-billing-url/api/meshobjects/meshtenantusagereports{?ownedByWorkspace,ownedByProject,isManaged,platform,platformType,platformTenantId,period,reportCategory,paymentMethodIdentifier,meshTenantId,finalizedAfter,cancelledAfter,status,showCancelled,sort}",
10571108
"templated" : true
10581109
},
1110+
"meshchargebacks" : {
1111+
"href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks{?workspaceIdentifier,projectIdentifier,period,finalized,legacy,finalizedSince,cancelledSince}",
1112+
"templated" : true
1113+
},
10591114
"self" : {
10601115
"href" : "https://mesh-billing-url/api/meshobjects"
10611116
}
@@ -1265,7 +1320,7 @@ <h5 id="_list_meshtenantusagereports"><a class="link" href="#_list_meshtenantusa
12651320
"reportCategory" : "BILLING",
12661321
"platformType" : "Azure",
12671322
"platform" : "azure.prod",
1268-
"platformTenantId" : "9611a4d2-0b3a-4c6d-82bf-c3483f276a47",
1323+
"platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd",
12691324
"version" : 2
12701325
},
12711326
"status" : {
@@ -1316,7 +1371,7 @@ <h5 id="_list_meshtenantusagereports"><a class="link" href="#_list_meshtenantusa
13161371
"reportCategory" : "BILLING",
13171372
"platformType" : "Azure",
13181373
"platform" : "azure.prod",
1319-
"platformTenantId" : "c3c820b9-bd40-47ea-a4cf-86ebb85cb3dd",
1374+
"platformTenantId" : "ff73e596-f784-4984-bad6-c99507cc30ad",
13201375
"version" : 1
13211376
},
13221377
"status" : {
@@ -1644,7 +1699,7 @@ <h5 id="_get_meshtenantusagereport"><a class="link" href="#_get_meshtenantusager
16441699
"reportCategory" : "BILLING",
16451700
"platformType" : "Azure",
16461701
"platform" : "azure.prod",
1647-
"platformTenantId" : "9611a4d2-0b3a-4c6d-82bf-c3483f276a47",
1702+
"platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd",
16481703
"version" : 2
16491704
},
16501705
"status" : {
@@ -1852,7 +1907,7 @@ <h5 id="_list_meshchargebacks"><a class="link" href="#_list_meshchargebacks">Lis
18521907
"apiVersion" : "v3",
18531908
"metadata" : {
18541909
"name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
1855-
"createdOn" : "2025-04-02T12:09:54.593505400Z",
1910+
"createdOn" : "2025-04-09T12:08:16.210065300Z",
18561911
"finalized" : true
18571912
},
18581913
"spec" : {
@@ -1914,7 +1969,7 @@ <h5 id="_list_meshchargebacks"><a class="link" href="#_list_meshchargebacks">Lis
19141969
"apiVersion" : "v3",
19151970
"metadata" : {
19161971
"name" : "2025-03-01Z/testPartner:testWorkspace:testProject",
1917-
"createdOn" : "2025-04-02T12:09:54.594497500Z",
1972+
"createdOn" : "2025-04-09T12:08:16.210990500Z",
19181973
"finalized" : true
19191974
},
19201975
"spec" : {
@@ -2207,7 +2262,7 @@ <h5 id="_get_meshchargeback"><a class="link" href="#_get_meshchargeback">Get mes
22072262
"apiVersion" : "v3",
22082263
"metadata" : {
22092264
"name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
2210-
"createdOn" : "2025-04-02T12:09:54.593505400Z",
2265+
"createdOn" : "2025-04-09T12:08:16.210065300Z",
22112266
"finalized" : true
22122267
},
22132268
"spec" : {
@@ -2548,7 +2603,7 @@ <h5 id="_put_meshresourceusagereports"><a class="link" href="#_put_meshresourceu
25482603
</div>
25492604
<div id="footer">
25502605
<div id="footer-text">
2551-
Last updated 2025-04-02 12:08:26 UTC
2606+
Last updated 2025-04-09 12:06:25 UTC
25522607
</div>
25532608
</div>
25542609
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/github.min.css">

website/static/billing-api/mesh_chargeback.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ <h5 id="_list_meshchargebacks">List meshChargebacks</h5>
606606
"apiVersion" : "v3",
607607
"metadata" : {
608608
"name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
609-
"createdOn" : "2025-04-02T12:09:54.593505400Z",
609+
"createdOn" : "2025-04-09T12:08:16.210065300Z",
610610
"finalized" : true
611611
},
612612
"spec" : {
@@ -668,7 +668,7 @@ <h5 id="_list_meshchargebacks">List meshChargebacks</h5>
668668
"apiVersion" : "v3",
669669
"metadata" : {
670670
"name" : "2025-03-01Z/testPartner:testWorkspace:testProject",
671-
"createdOn" : "2025-04-02T12:09:54.594497500Z",
671+
"createdOn" : "2025-04-09T12:08:16.210990500Z",
672672
"finalized" : true
673673
},
674674
"spec" : {
@@ -961,7 +961,7 @@ <h5 id="_get_meshchargeback">Get meshChargeback</h5>
961961
"apiVersion" : "v3",
962962
"metadata" : {
963963
"name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
964-
"createdOn" : "2025-04-02T12:09:54.593505400Z",
964+
"createdOn" : "2025-04-09T12:08:16.210065300Z",
965965
"finalized" : true
966966
},
967967
"spec" : {
@@ -1026,7 +1026,7 @@ <h5 id="_get_meshchargeback">Get meshChargeback</h5>
10261026
</div>
10271027
<div id="footer">
10281028
<div id="footer-text">
1029-
Last updated 2025-04-02 12:08:26 UTC
1029+
Last updated 2025-04-09 12:06:25 UTC
10301030
</div>
10311031
</div>
10321032
</body>

website/static/billing-api/mesh_objects.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -548,14 +548,14 @@ <h3 id="mesh_objects">meshObjects</h3>
548548

549549
{
550550
"_links" : {
551-
"meshchargebacks" : {
552-
"href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks{?workspaceIdentifier,projectIdentifier,period,finalized,legacy,finalizedSince,cancelledSince}",
553-
"templated" : true
554-
},
555551
"meshtenantusagereports" : {
556552
"href" : "https://mesh-billing-url/api/meshobjects/meshtenantusagereports{?ownedByWorkspace,ownedByProject,isManaged,platform,platformType,platformTenantId,period,reportCategory,paymentMethodIdentifier,meshTenantId,finalizedAfter,cancelledAfter,status,showCancelled,sort}",
557553
"templated" : true
558554
},
555+
"meshchargebacks" : {
556+
"href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks{?workspaceIdentifier,projectIdentifier,period,finalized,legacy,finalizedSince,cancelledSince}",
557+
"templated" : true
558+
},
559559
"self" : {
560560
"href" : "https://mesh-billing-url/api/meshobjects"
561561
}
@@ -765,7 +765,7 @@ <h5 id="_list_meshtenantusagereports">List meshTenantUsageReports</h5>
765765
"reportCategory" : "BILLING",
766766
"platformType" : "Azure",
767767
"platform" : "azure.prod",
768-
"platformTenantId" : "9611a4d2-0b3a-4c6d-82bf-c3483f276a47",
768+
"platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd",
769769
"version" : 2
770770
},
771771
"status" : {
@@ -816,7 +816,7 @@ <h5 id="_list_meshtenantusagereports">List meshTenantUsageReports</h5>
816816
"reportCategory" : "BILLING",
817817
"platformType" : "Azure",
818818
"platform" : "azure.prod",
819-
"platformTenantId" : "c3c820b9-bd40-47ea-a4cf-86ebb85cb3dd",
819+
"platformTenantId" : "ff73e596-f784-4984-bad6-c99507cc30ad",
820820
"version" : 1
821821
},
822822
"status" : {
@@ -1144,7 +1144,7 @@ <h5 id="_get_meshtenantusagereport">Get meshTenantUsageReport</h5>
11441144
"reportCategory" : "BILLING",
11451145
"platformType" : "Azure",
11461146
"platform" : "azure.prod",
1147-
"platformTenantId" : "9611a4d2-0b3a-4c6d-82bf-c3483f276a47",
1147+
"platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd",
11481148
"version" : 2
11491149
},
11501150
"status" : {
@@ -1352,7 +1352,7 @@ <h5 id="_list_meshchargebacks">List meshChargebacks</h5>
13521352
"apiVersion" : "v3",
13531353
"metadata" : {
13541354
"name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
1355-
"createdOn" : "2025-04-02T12:09:54.593505400Z",
1355+
"createdOn" : "2025-04-09T12:08:16.210065300Z",
13561356
"finalized" : true
13571357
},
13581358
"spec" : {
@@ -1414,7 +1414,7 @@ <h5 id="_list_meshchargebacks">List meshChargebacks</h5>
14141414
"apiVersion" : "v3",
14151415
"metadata" : {
14161416
"name" : "2025-03-01Z/testPartner:testWorkspace:testProject",
1417-
"createdOn" : "2025-04-02T12:09:54.594497500Z",
1417+
"createdOn" : "2025-04-09T12:08:16.210990500Z",
14181418
"finalized" : true
14191419
},
14201420
"spec" : {
@@ -1707,7 +1707,7 @@ <h5 id="_get_meshchargeback">Get meshChargeback</h5>
17071707
"apiVersion" : "v3",
17081708
"metadata" : {
17091709
"name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
1710-
"createdOn" : "2025-04-02T12:09:54.593505400Z",
1710+
"createdOn" : "2025-04-09T12:08:16.210065300Z",
17111711
"finalized" : true
17121712
},
17131713
"spec" : {
@@ -2046,7 +2046,7 @@ <h5 id="_put_meshresourceusagereports">Put meshResourceUsageReports</h5>
20462046
</div>
20472047
<div id="footer">
20482048
<div id="footer-text">
2049-
Last updated 2025-04-02 12:08:26 UTC
2049+
Last updated 2025-04-09 12:06:25 UTC
20502050
</div>
20512051
</div>
20522052
</body>

website/static/billing-api/mesh_resource_usage_report.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ <h5 id="_put_meshresourceusagereports">Put meshResourceUsageReports</h5>
716716
</div>
717717
<div id="footer">
718718
<div id="footer-text">
719-
Last updated 2025-04-02 12:08:26 UTC
719+
Last updated 2025-04-09 12:06:25 UTC
720720
</div>
721721
</div>
722722
</body>

website/static/billing-api/mesh_tenant_usage_reports.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ <h5 id="_list_meshtenantusagereports">List meshTenantUsageReports</h5>
642642
"reportCategory" : "BILLING",
643643
"platformType" : "Azure",
644644
"platform" : "azure.prod",
645-
"platformTenantId" : "9611a4d2-0b3a-4c6d-82bf-c3483f276a47",
645+
"platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd",
646646
"version" : 2
647647
},
648648
"status" : {
@@ -693,7 +693,7 @@ <h5 id="_list_meshtenantusagereports">List meshTenantUsageReports</h5>
693693
"reportCategory" : "BILLING",
694694
"platformType" : "Azure",
695695
"platform" : "azure.prod",
696-
"platformTenantId" : "c3c820b9-bd40-47ea-a4cf-86ebb85cb3dd",
696+
"platformTenantId" : "ff73e596-f784-4984-bad6-c99507cc30ad",
697697
"version" : 1
698698
},
699699
"status" : {
@@ -1021,7 +1021,7 @@ <h5 id="_get_meshtenantusagereport">Get meshTenantUsageReport</h5>
10211021
"reportCategory" : "BILLING",
10221022
"platformType" : "Azure",
10231023
"platform" : "azure.prod",
1024-
"platformTenantId" : "9611a4d2-0b3a-4c6d-82bf-c3483f276a47",
1024+
"platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd",
10251025
"version" : 2
10261026
},
10271027
"status" : {
@@ -1066,7 +1066,7 @@ <h5 id="_get_meshtenantusagereport">Get meshTenantUsageReport</h5>
10661066
</div>
10671067
<div id="footer">
10681068
<div id="footer-text">
1069-
Last updated 2025-04-02 12:08:26 UTC
1069+
Last updated 2025-04-09 12:06:25 UTC
10701070
</div>
10711071
</div>
10721072
</body>

0 commit comments

Comments
 (0)