Skip to content

Commit

Permalink
table alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Jul 27, 2021
1 parent 3465c1f commit 8b1fa2d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/src/development/proposals/MEP4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | |
Expand All @@ -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 | |
Expand All @@ -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 | |
Expand All @@ -815,15 +815,15 @@ 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.

#### 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 | |
Expand All @@ -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 | |
Expand All @@ -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 | |
Expand Down Expand Up @@ -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 | |
Expand All @@ -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 | |
Expand All @@ -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 | |
Expand All @@ -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 | |
Expand All @@ -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.
Expand Down

0 comments on commit 8b1fa2d

Please sign in to comment.