Skip to content

Commit

Permalink
Merge branch 'alic/sdk_links' into 'master'
Browse files Browse the repository at this point in the history
docs: Fix outdated/broken links to developer docs

 

See merge request dfinity-lab/public/ic!10812
  • Loading branch information
dist1ll committed Feb 17, 2023
2 parents 5f9ec65 + 0a95e36 commit c723c68
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions rs/types/types/src/messages/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use serde::{Deserialize, Serialize};
use std::{collections::BTreeSet, convert::TryFrom, error::Error, fmt};

/// Describes the fields of a canister update call as defined in
/// `<https://sdk.dfinity.org/docs/interface-spec/index.html#api-update>`.
/// `<https://internetcomputer.org/docs/current/references/ic-interface-spec#http-call>`.
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)]
#[cfg_attr(test, derive(Arbitrary))]
pub struct HttpCanisterUpdate {
Expand Down Expand Up @@ -88,8 +88,8 @@ impl HttpCallContent {
}
}

/// Describes the fields of a canister query call (a query from a user to a
/// canister) as defined in `<https://sdk.dfinity.org/docs/interface-spec/index.html#api-query>`.
/// Describes the fields of a canister query call (a query from a user to a canister) as
/// defined in `<https://internetcomputer.org/docs/current/references/ic-interface-spec#http-query>`.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
pub struct HttpUserQuery {
pub canister_id: Blob,
Expand Down Expand Up @@ -127,7 +127,7 @@ impl HttpQueryContent {
}
}

/// A `read_state` request as defined in `<https://sdk.dfinity.org/docs/interface-spec/index.html#api-request-read-state>`.
/// A `read_state` request as defined in `<https://internetcomputer.org/docs/current/references/ic-interface-spec#http-read-state>`.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
pub struct HttpReadState {
pub sender: Blob,
Expand Down Expand Up @@ -212,7 +212,7 @@ impl HttpReadState {
}

/// A request envelope as defined in
/// `<https://sdk.dfinity.org/docs/interface-spec/index.html#authentication>`.
/// `<https://internetcomputer.org/docs/current/references/ic-interface-spec#authentication>`.
///
/// The content is either [`HttpCallContent`], [`HttpQueryContent`] or
/// [`HttpReadStateContent`].
Expand Down Expand Up @@ -430,7 +430,7 @@ impl From<CanisterIdError> for HttpRequestError {
}

/// Describes a delegation map as defined in
/// `<https://sdk.dfinity.org/docs/interface-spec/index.html#certification-delegation>`.
/// `<https://internetcomputer.org/docs/current/references/ic-interface-spec#certification-delegation>`.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
#[cfg_attr(test, derive(Arbitrary))]
pub struct Delegation {
Expand Down Expand Up @@ -504,7 +504,7 @@ impl SignedBytesWithoutDomainSeparator for Delegation {
}

/// Describes a delegation as defined in
/// `<https://sdk.dfinity.org/docs/interface-spec/index.html#certification-delegation>`.
/// `<https://internetcomputer.org/docs/current/references/ic-interface-spec#certification-delegation>`.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
#[cfg_attr(test, derive(Arbitrary))]
pub struct SignedDelegation {
Expand Down Expand Up @@ -579,7 +579,7 @@ pub struct HttpReadStateResponse {
pub certificate: Blob,
}

/// A `Certificate` as defined in `<https://sdk.dfinity.org/docs/interface-spec/index.html#_certificate>`
/// A `Certificate` as defined in `<https://internetcomputer.org/docs/current/references/ic-interface-spec#certificate>`
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
pub struct Certificate {
pub tree: MixedHashTree,
Expand All @@ -588,7 +588,7 @@ pub struct Certificate {
pub delegation: Option<CertificateDelegation>,
}

/// A `CertificateDelegation` as defined in `<https://smartcontracts.org/docs/interface-spec/index.html#certification-delegation>`
/// A `CertificateDelegation` as defined in `<https://internetcomputer.org/docs/current/references/ic-interface-spec#certification-delegation>`
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
pub struct CertificateDelegation {
pub subnet_id: Blob,
Expand Down

0 comments on commit c723c68

Please sign in to comment.