standardlib/remote/
content_description_remote.rs

1
2
3
4
5
6
7
8
9
use common::remote::{post, services};
use hyper::HeaderMap;
use uuid::Uuid;

use crate::dto::content_description_response::ContentDescriptionResponse;

pub fn find_by_ids(ids: Vec<Uuid>, headers: HeaderMap) -> Result<Vec<ContentDescriptionResponse>, String> {
    post(services::STANDARD_API, format!("/contentDescription/findByIds"), headers, ids)
}