Skip to content

Commit

Permalink
feat(dataverse): specify DetachMetadata execute message
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Oct 24, 2023
1 parent 99684f5 commit 7666455
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contracts/okp4-dataverse/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ pub enum ExecuteMsg {
/// This metadata should adhere to the format specified in the `format` field.
metadata: Binary,
},

/// # DetachMetadata
/// Remove a previously associated metadata (from a specific resource within the dataverse).
/// Once removed the metadata is no longer accessible.
DetachMetadata {
/// The RDF identifier of the metadata to be removed.
resource_identifier: URI,
},
}

/// # RDFFormat
Expand Down

0 comments on commit 7666455

Please sign in to comment.