All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ml.comet.experiment.impl.constants.ApiEndpoints Maven / Gradle / Ivy

There is a newer version: 1.1.14
Show newest version
package ml.comet.experiment.impl.constants;

import lombok.experimental.UtilityClass;

/**
 * Definitions of the Comet API endpoints.
 */
@UtilityClass
public final class ApiEndpoints {
    public static final String UPDATE_API_URL = "/api/rest/v2/write";
    public static final String SET_EXPERIMENT_STATUS = UPDATE_API_URL + "/experiment/set-status";
    public static final String NEW_EXPERIMENT = UPDATE_API_URL + "/experiment/create";
    public static final String ADD_OUTPUT = UPDATE_API_URL + "/experiment/output";
    public static final String ADD_TAG = UPDATE_API_URL + "/experiment/tags";
    public static final String ADD_GIT_METADATA = UPDATE_API_URL + "/experiment/git/metadata";
    public static final String ADD_ASSET = UPDATE_API_URL + "/experiment/upload-asset";
    public static final String ADD_START_END_TIME = UPDATE_API_URL + "/experiment/set-start-end-time";
    public static final String ADD_GRAPH = UPDATE_API_URL + "/experiment/graph";
    public static final String ADD_LOG_OTHER = UPDATE_API_URL + "/experiment/log-other";
    public static final String ADD_HTML = UPDATE_API_URL + "/experiment/html";
    public static final String ADD_PARAMETER = UPDATE_API_URL + "/experiment/parameter";
    public static final String ADD_METRIC = UPDATE_API_URL + "/experiment/metric";
    public static final String SET_SYSTEM_DETAILS = UPDATE_API_URL + "/experiment/system-details";
    public static final String UPSERT_ARTIFACT = UPDATE_API_URL + "/artifacts/upsert";
    public static final String UPDATE_ARTIFACT_STATE = UPDATE_API_URL + "/artifacts/state";
    public static final String CREATE_REGISTRY_MODEL = UPDATE_API_URL + "/registry-model";
    public static final String CREATE_REGISTRY_MODEL_ITEM = CREATE_REGISTRY_MODEL + "/item";
    public static final String UPDATE_REGISTRY_MODEL_NOTES = UPDATE_API_URL + "/registry-model/notes";
    public static final String UPDATE_REGISTRY_MODEL = UPDATE_API_URL + "/registry-model/update";
    public static final String UPDATE_REGISTRY_MODEL_VERSION = UPDATE_API_URL + "/registry-model/item/update";
    public static final String DELETE_REGISTRY_MODEL = UPDATE_API_URL + "/registry-model/delete";
    public static final String DELETE_REGISTRY_MODEL_ITEM = UPDATE_API_URL + "/registry-model/item/delete";

    public static final String READ_API_URL = "/api/rest/v2";
    public static final String GET_ASSETS_LIST = READ_API_URL + "/experiment/asset/list";
    public static final String GET_TAGS = READ_API_URL + "/experiment/tags";
    public static final String GET_LOG_OTHER = READ_API_URL + "/experiment/log-other";
    public static final String GET_METRICS = READ_API_URL + "/experiment/metrics/summary";
    public static final String GET_PARAMETERS = READ_API_URL + "/experiment/parameters";
    public static final String GET_GRAPH = READ_API_URL + "/experiment/graph";
    public static final String GET_OUTPUT = READ_API_URL + "/experiment/output";
    public static final String GET_HTML = READ_API_URL + "/experiment/html";
    public static final String GET_METADATA = READ_API_URL + "/experiment/metadata";
    public static final String GET_GIT_METADATA = READ_API_URL + "/experiment/git/metadata";
    public static final String EXPERIMENTS = READ_API_URL + "/experiments";
    public static final String PROJECTS = READ_API_URL + "/projects";
    public static final String WORKSPACES = READ_API_URL + "/workspaces";
    public static final String GET_ARTIFACT_VERSION_DETAIL = READ_API_URL + "/artifacts/version";
    public static final String GET_ARTIFACT_VERSION_FILES = READ_API_URL + "/artifacts/version/files";
    public static final String GET_EXPERIMENT_ASSET = READ_API_URL + "/experiment/asset/get-asset";
    public static final String GET_EXPERIMENT_MODEL_LIST = READ_API_URL + "/experiment/model";
    public static final String GET_REGISTRY_MODEL_LIST = READ_API_URL + "/registry-model";
    public static final String DOWNLOAD_REGISTRY_MODEL = READ_API_URL + "/registry-model/item/download";
    public static final String GET_REGISTRY_MODEL_DETAILS = READ_API_URL + "/registry-model/details";
    public static final String GET_REGISTRY_MODEL_NOTES = READ_API_URL + "/registry-model/notes";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy