diff --git a/endpoints/api/manifest.py b/endpoints/api/manifest.py index 66716da3f..7eaad827b 100644 --- a/endpoints/api/manifest.py +++ b/endpoints/api/manifest.py @@ -4,10 +4,11 @@ from app import label_validator from flask import request from endpoints.api import (resource, nickname, require_repo_read, require_repo_write, RepositoryParamResource, log_action, validate_json_request, - path_param, parse_args, query_param, truthy_bool, abort, api, + path_param, parse_args, query_param, abort, api, disallow_for_app_repositories) from endpoints.exception import NotFound -from data import model +from manifest_models_pre_oci import pre_oci_model as model +from data.model import InvalidLabelKeyException, InvalidMediaTypeException from digest import digest_tools from util.validation import VALID_LABEL_KEY_REGEX @@ -16,16 +17,6 @@ BASE_MANIFEST_ROUTE = '/v1/repository//manifest/