20#ifndef ORES_ORE_API_NET_ORE_STORAGE_HPP
21#define ORES_ORE_API_NET_ORE_STORAGE_HPP
25#include "ores.storage/net/storage_paths.hpp"
27namespace ores::ore::net {
36 static constexpr std::string_view bucket =
"ore-imports";
44 static std::string
import_key(std::string_view request_id) {
45 std::string key(request_id);
Storage bucket constants and key helpers for ORE import.
Definition ore_storage.hpp:35
static std::string import_key(std::string_view request_id)
Object key for an ORE import tarball.
Definition ore_storage.hpp:44
static std::string import_path(std::string_view request_id)
API path for an ORE import tarball.
Definition ore_storage.hpp:56
static std::string make_object_path(std::string_view bucket, std::string_view key)
Constructs the URL path for a storage object.
Definition storage_paths.hpp:54