# Unknown REST Endpoints listed

**URL:** https://forum.payara.fish/t/unknown-rest-endpoints-listed/196
**Category:** Technical Discussion
**Created:** [January 13, 2022, 3:58pm UTC](https://forum.payara.fish/t/unknown-rest-endpoints-listed/196 "2022-01-13T15:58:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![2ma](https://avatars.discourse-cdn.com/v4/letter/2/0ea827/32.png) [@2ma](https://forum.payara.fish/u/2ma)
#### Post date: [January 13, 2022, 3:58pm UTC](https://forum.payara.fish/t/unknown-rest-endpoints-listed/196/1 "2022-01-13T15:58:26Z")

</div>

Hello, my team just migrated our existing tomee services to microprofile using payara. Everything went smooth, the only issue we encountered that, when starting the service, there are a lot of REST endpoints listed, a few of them we could identify, like openapi, but there are a lot more, and we couldn’t find a way to configure it.

```auto
'ROOT' REST Endpoints:
GET	/
POST	/
GET	/application.wadl
POST	/important/something_awesome
GET	/openapi-ui
GET	/openapi-ui/index.html
GET	/openapi-ui/logo.png
GET	/openapi-ui/style.css
GET	/openapi/
GET	/openapi/application.wadl
POST	/{context}/entity/{type}
PUT	/{context}/entity/{type}
DELETE	/{context}/entity/{type}/{id}
GET	/{context}/entity/{type}/{id}
DELETE	/{context}/entity/{type}/{id}/{attribute}
GET	/{context}/entity/{type}/{id}/{attribute}
POST	/{context}/entity/{type}/{id}/{attribute}
GET	/{context}/metadata
GET	/{context}/metadata/entity/{descriptorAlias}
GET	/{context}/metadata/query
GET	/{context}/metadata/query/{queryName}
GET	/{context}/query/{name}
POST	/{context}/query/{name}
GET	/{context}/singleResultQuery/{name}
GET	/{path: webjars/.*}
GET	/{version : v\d\.\d|latest}
POST	/{version : v\d\.\d|latest}
OPTIONS	/{version : v\d\.\d|latest}/{context}/entity/{entityName}
POST	/{version : v\d\.\d|latest}/{context}/entity/{type}
PUT	/{version : v\d\.\d|latest}/{context}/entity/{type}
DELETE	/{version : v\d\.\d|latest}/{context}/entity/{type}/{id}
GET	/{version : v\d\.\d|latest}/{context}/entity/{type}/{id}
DELETE	/{version : v\d\.\d|latest}/{context}/entity/{type}/{id}/{attribute}
GET	/{version : v\d\.\d|latest}/{context}/entity/{type}/{id}/{attribute}
POST	/{version : v\d\.\d|latest}/{context}/entity/{type}/{id}/{attribute}
GET	/{version : v\d\.\d|latest}/{context}/metadata
GET	/{version : v\d\.\d|latest}/{context}/metadata-catalog
GET	/{version : v\d\.\d|latest}/{context}/metadata-catalog/entity/{entityName}
GET	/{version : v\d\.\d|latest}/{context}/metadata-catalog/query/{queryName}
GET	/{version : v\d\.\d|latest}/{context}/metadata/entity/{descriptorAlias}
GET	/{version : v\d\.\d|latest}/{context}/metadata/query
GET	/{version : v\d\.\d|latest}/{context}/metadata/query/{queryName}
GET	/{version : v\d\.\d|latest}/{context}/query/{name}
OPTIONS	/{version : v\d\.\d|latest}/{context}/query/{name}
POST	/{version : v\d\.\d|latest}/{context}/query/{name}
GET	/{version : v\d\.\d|latest}/{context}/singleResultQuery/{name}

```

In this service we only have one endpoint:

```auto
POST	/important/something_awesome

```

and we don’t know where the other endpoints come from.  
Any ideas how to configure it, so we can get rid of all of these endpoints? Any help is much appreciated!

---

<div class="post-metadata">

### Author: ![tushar-1728](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@tushar-1728](https://forum.payara.fish/u/tushar-1728)
#### Post date: [January 23, 2024, 2:04pm UTC](https://forum.payara.fish/t/unknown-rest-endpoints-listed/196/2 "2024-01-23T14:04:05Z")

</div>

See [java - How to remove extra rest apis exposed by eclipselink version greter than 3.x? - Stack Overflow](https://stackoverflow.com/questions/77002687/how-to-remove-extra-rest-apis-exposed-by-eclipselink-version-greter-than-3-x)
