https://github.com/eoxserver/type-api
A REST API for the type objects of the EOxServer coverages
https://github.com/eoxserver/type-api
django django-rest-framework rest-api
Last synced: about 1 month ago
JSON representation
A REST API for the type objects of the EOxServer coverages
- Host: GitHub
- URL: https://github.com/eoxserver/type-api
- Owner: EOxServer
- License: mit
- Created: 2022-06-28T13:31:51.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T14:32:48.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T16:12:13.354Z (over 1 year ago)
- Topics: django, django-rest-framework, rest-api
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EOxServer type-api
A REST API for the type objects of the EOxServer coverages. This allows the modification of `MaskTypes`, `BrowseTypes`, `CoverageTypes`, `ProductTypes`, and `CollectionTypes`.
## Usage
In order to activate the `type-api` configuration has to be added to some files in the Django project:
In `settings.py`:
```python
INSTALLED_APPS = (
...
'rest_framework',
)
```
In `urls.py`:
```python
urlpatterns = [
...
re_path(r'^api/', include("eoxs_type_api.urls")),
]
```
Now the API is mounted under the `api/` endpoint.