Adding JSON:API support

This commit is contained in:
Luca Frosini 2023-02-17 14:14:45 +01:00
parent 5c882338d5
commit 40082495bd
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ public class GCatConstants {
public static final String SERVICE_ENTRY_NAME = "org.gcube.gcat.ResourceInitializer";
public static final String PURGE_QUERY_PARAMETER = "purge";
public static final String APPLICATION_JSON_CHARSET_UTF_8 = "application/json;charset=UTF-8";
public static final String APPLICATION_JSON_API = "application/vnd.api+json";
public static final String LIMIT_QUERY_PARAMETER = "limit";
public static final String OFFSET_QUERY_PARAMETER = "offset";
public static final String COUNT_QUERY_PARAMETER = "count";
@ -34,4 +35,7 @@ public class GCatConstants {
public static final String ORGANIZATION_FILTER_TEMPLATE = ORGANIZATION_PARAMETER + ":%s";
public static final String JSON_API_DATA_FIELD_NAME = "data";
}