Skip to content

Commit 6a87247

Browse files
neildsouthwoodheadio
authored andcommitted
change to path of new endpoint
Signed-off-by: Neil South <[email protected]>
1 parent dffc3ee commit 6a87247

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/api/rest/config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ curl --location --request GET 'http://localhost:5000/config/source/USEAST'
345345

346346
---
347347

348-
## GET /config/source/getbyaetitle/{aeTitle}
348+
## GET /config/source/aetitle/{aeTitle}
349349

350350
Returns configurations for the specified calling (source) AET.
351351

@@ -368,7 +368,7 @@ Response Content Type: JSON - [SourceApplicationEntity[]](xref:Monai.Deploy.Info
368368
### Example Request
369369

370370
```bash
371-
curl --location --request GET 'http://localhost:5000/config/source/getbyaetitle/USEAST'
371+
curl --location --request GET 'http://localhost:5000/config/source/aetitle/USEAST'
372372
```
373373

374374
### Example Response

src/InformaticsGateway/Services/Http/SourceAeTitleController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public async Task<ActionResult<SourceApplicationEntity>> GetAeTitle(string name)
8888
}
8989
}
9090

91-
[HttpGet("/getbyaetitle/{aeTitle}")]
91+
[HttpGet("/aetitle/{aeTitle}")]
9292
[Produces("application/json")]
9393
[ProducesResponseType(StatusCodes.Status200OK)]
9494
[ProducesResponseType(StatusCodes.Status404NotFound)]

0 commit comments

Comments
 (0)