Adding JSON:API support
This commit is contained in:
parent
5c882338d5
commit
40082495bd
|
@ -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";
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue