rs_server_catalog/app.md
RS-Server STAC catalog based on stac-fastapi-pgstac.
add_parameter_owner_id(parameters)
Add the owner id dictionnary to the parameter list.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
parameters
|
list[dict]
|
the parameters list |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
list[dict]
|
the new parameters list with the owner id parameter. |
Source code in docs/rs-server/services/catalog/rs_server_catalog/app.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | |
data_lifecycle(request)
async
Trigger the data lifecycle management
Source code in docs/rs-server/services/catalog/rs_server_catalog/app.py
158 159 160 161 | |
just_for_the_lock_icon(apikey_value='')
async
Dummy function to add a lock icon in Swagger to enter an API key.
Source code in docs/rs-server/services/catalog/rs_server_catalog/app.py
170 171 172 173 | |
lifespan(my_app)
async
The lifespan function.
Source code in docs/rs-server/services/catalog/rs_server_catalog/app.py
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
must_be_authenticated(route_path)
Return true if a user must be authenticated to use this endpoint route path.
Source code in docs/rs-server/services/catalog/rs_server_catalog/app.py
55 56 57 58 59 60 61 62 | |