From 8b1fa2d356f80264ec60e757f00fbf7f10cb89ff Mon Sep 17 00:00:00 2001 From: Gerrit91 Date: Tue, 27 Jul 2021 13:15:23 +0200 Subject: [PATCH] table alignments --- docs/src/development/proposals/MEP4/README.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/src/development/proposals/MEP4/README.md b/docs/src/development/proposals/MEP4/README.md index 3c86b03e8a..8beffeb749 100644 --- a/docs/src/development/proposals/MEP4/README.md +++ b/docs/src/development/proposals/MEP4/README.md @@ -775,7 +775,7 @@ This section defines the new endpoints for the API. #### File System Layout | Endpoint | Method | Permission | Notes | -| ----------------------------------------------- | ------ | -------------------------------------- | --------------------------------------------- | +| :---------------------------------------------- | ------ | :------------------------------------- | :-------------------------------------------- | | /v2/filesystemlayout | GET | metal.v2.filesystemlayout.list | | | /v2/filesystemlayout | POST | metal.v2.filesystemlayout.search | New! | | /v2/filesystemlayout/:id | GET | metal.v2.filesystemlayout.get | | @@ -791,7 +791,7 @@ This section defines the new endpoints for the API. #### Firewall | Endpoint | Method | Permission | Notes | -| ------------------------- | ------ | --------------------------------- | ------------------------- | +| :------------------------ | ------ | :-------------------------------- | :------------------------ | | /v2/firewall | GET | metal.v2.firewall.list | | | /v2/firewall | POST | metal.v2.firewall.search | Was `/find` before | | /v2/firewall/:id | GET | metal.v2.firewall.get | | @@ -803,7 +803,7 @@ This section defines the new endpoints for the API. #### Firmware | Endpoint | Method | Permission | Notes | -| ------------------------------------------- | ------ | ------------------------------ | ----- | +| :------------------------------------------ | ------ | :----------------------------- | :---- | | /v2/firmware | GET | metal.v2.firmware.list | | | /v2/firmware/:kind/:vendor/:board/:revision | PUT | metal.v2.admin.firmware.create | | | /v2/firmware/:kind/:vendor/:board/:revision | DELETE | metal.v2.admin.firmware.delete | | @@ -815,7 +815,7 @@ This resource is a little different because it uses an S3 bucket for persistence #### Health | Endpoint | Method | Permission | Notes | -| ---------- | ------ | ------------------- | ----- | +| :--------- | ------ | :------------------ | :---- | | /v2/health | GET | metal.v2.health.get | | ❓ This endpoint was public before (such that health checks can easily be performed through K8s deployments). To reduce attack surface this should require a permission. @@ -823,7 +823,7 @@ This resource is a little different because it uses an S3 bucket for persistence #### IP | Endpoint | Method | Permission | Notes | -| ------------------- | ------ | --------------------------- | --------------------- | +| :------------------ | ------ | :-------------------------- | :-------------------- | | /v2/ip | GET | metal.v2.ip.list | | | /v2/ip | POST | metal.v2.ip.search | Was `/find` before | | /v2/ip/:id | GET | metal.v2.ip.get | | @@ -835,7 +835,7 @@ This resource is a little different because it uses an S3 bucket for persistence #### Image | Endpoint | Method | Permission | Notes | -| ------------------------------------ | ------ | --------------------------- | ----- | +| :----------------------------------- | ------ | :-------------------------- | :---- | | /v2/image | GET | metal.v2.image.list | | | /v2/image | POST | metal.v2.image.search | New! | | /v2/image/:id | GET | metal.v2.image.get | | @@ -850,7 +850,7 @@ This resource is a little different because it uses an S3 bucket for persistence #### Machine | Endpoint | Method | Permission | Notes | -| ------------------------------------------------ | ------ | ------------------------------------ | ---------------------------------------------------- | +| :----------------------------------------------- | ------ | :----------------------------------- | :--------------------------------------------------- | | /v2/machine | GET | metal.v2.machine.list | | | /v2/machine | POST | metal.v2.machine.search | Was `/find` before | | /v2/machine/:id | GET | metal.v2.machine.get | | @@ -888,7 +888,7 @@ This resource is a little different because it uses an S3 bucket for persistence #### Network | Endpoint | Method | Permission | Notes | -| -------------------------------------- | ------ | ----------------------------- | ----- | +| :------------------------------------- | ------ | :---------------------------- | :---- | | /v2/network | GET | metal.v2.network.list | | | /v2/network | POST | metal.v2.network.search | New! | | /v2/network/:id | GET | metal.v2.network.get | | @@ -902,7 +902,7 @@ This resource is a little different because it uses an S3 bucket for persistence #### Partition | Endpoint | Method | Permission | Notes | -| ---------------------- | ------ | ------------------------------- | ----- | +| :--------------------- | ------ | :------------------------------ | :---- | | /v2/partition | GET | metal.v2.partition.list | | | /v2/partition | POST | metal.v2.partition.search | New! | | /v2/partition/:id | GET | metal.v2.partition.get | | @@ -917,7 +917,7 @@ TBD #### Size | Endpoint | Method | Permission | Notes | -| ---------------------- | ------ | -------------------------- | -------------------------------------- | +| :--------------------- | ------ | :------------------------- | :------------------------------------- | | /v2/size | GET | metal.v2.size.list | | | /v2/size | POST | metal.v2.size.search | New! | | /v2/size/:id | GET | metal.v2.size.get | | @@ -931,7 +931,7 @@ TBD This really is a pure admin-resource. | Endpoint | Method | Permission | Notes | -| -------------- | ------ | -------------------------- | ----- | +| :------------- | ------ | :------------------------- | :---- | | /v2/switch | GET | metal.v2.admin.size.list | | | /v2/switch | POST | metal.v2.admin.size.search | New! | | /v2/switch/:id | GET | metal.v2.admin.size.get | | @@ -947,7 +947,7 @@ TBD #### Version | Endpoint | Method | Permission | Notes | -| ----------- | ------ | -------------------- | ----- | +| :---------- | ------ | :------------------- | :---- | | /v2/version | GET | metal.v2.version.get | | ❓ This endpoint was public before (such that it can easily be shown in badges). To reduce attack surface this should require a permission.