2018-06-06 19:26:19 +02:00
|
|
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
|
|
|
|
2023-05-02 14:38:13 +02:00
|
|
|
import org.gcube.informationsystem.base.reference.IdentifiableElement;
|
|
|
|
import org.gcube.informationsystem.model.reference.properties.Metadata;
|
|
|
|
|
2023-02-09 16:04:39 +01:00
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
2018-06-06 19:26:19 +02:00
|
|
|
public class InstancePath {
|
|
|
|
|
|
|
|
public static final String INSTANCES_PATH_PART = "instances";
|
|
|
|
|
2023-09-13 18:40:15 +02:00
|
|
|
public static final String OFFSET_QUERY_PARAMETER = "offset";
|
2023-10-31 15:25:08 +01:00
|
|
|
public static final String LIMIT_QUERY_PARAMETER = "limit";
|
2023-09-13 18:40:15 +02:00
|
|
|
|
2022-07-20 12:09:07 +02:00
|
|
|
public static final String POLYMORPHIC_QUERY_PARAMETER = "polymorphic";
|
2018-06-06 19:26:19 +02:00
|
|
|
|
2022-07-20 12:09:07 +02:00
|
|
|
public static final String HIERARCHICAL_MODE_QUERY_PARAMETER = "hierarchical";
|
2020-11-09 15:47:05 +01:00
|
|
|
|
2023-04-19 11:37:03 +02:00
|
|
|
public static final String INCLUDE_CONTEXTS_QUERY_PARAMETER = "includeContexts";
|
2020-11-09 15:47:05 +01:00
|
|
|
|
2023-05-02 14:38:13 +02:00
|
|
|
/**
|
|
|
|
* Request to include {@link Metadata} in {@link IdentifiableElement} root instance
|
|
|
|
*/
|
|
|
|
public static final String INCLUDE_META_QUERY_PARAMETER = "includeMeta";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Request to include {@link Metadata} in all {@link IdentifiableElement}
|
|
|
|
* instance.
|
|
|
|
* It must be used in conjunction with {@link #INCLUDE_META_QUERY_PARAMETER}
|
|
|
|
* If {@link #INCLUDE_META_QUERY_PARAMETER} is false it has no meaning
|
|
|
|
*/
|
2023-05-02 17:23:49 +02:00
|
|
|
public static final String INCLUDE_META_IN_ALL_INSTANCES_QUERY_PARAMETER = "allMeta";
|
2023-05-02 14:38:13 +02:00
|
|
|
|
2018-06-06 19:26:19 +02:00
|
|
|
}
|