Archipels Documentation
  • 🫂Welcome!
    • 🏢Who are we?
    • 🆔What is SSI?
    • 👨‍🏫Glossary of terms
  • 👩‍🔧Product Overview
    • Wallet
    • Electronic Attestations
    • DIDs
    • Trust Registry
  • ⚒️Set up
    • Create an individual wallet and request an attestation
    • Configure an access token
    • Create a Webhook
    • Create your test environment
    • Get your DID wallet
  • 🏗️Create attestation request
    • 🧩Get and Accept Attestation
      • API call : get attestations in my wallet
      • Accept attestation
    • 🏗️Create an Onboarding attestation request against Archipels
      • Attestation request
      • Accept attestation
    • 🏗️Create an email attestation request against Archipels
      • Attestation request
      • Accept attestation
  • 📃Issue attestation
    • Create a second wallet and configure this new environment
    • Create a schema attestation
    • Create a connection: Create an invitation
    • Create a connection: Accept an invitation
    • Attestation send offer
    • Accept attestation
  • 🔀Send presentation request
    • 🪪Send a Presentation
      • Create a third wallet and configure this new environment
      • Create a connection
      • Send Presentation request
      • Get the list of presentation requests (not available currently)
      • Get the presentation requests
      • Get the list of valid attestations
      • Send/Show presentation
      • Get the presentation
    • 📑Send several Presentations
      • Send Presentations request
      • Get the presentation requests
  • ➕Other features
    • 📩Messages
      • Send a message
    • 📃Delete an attestation
      • Delete attestation
  • 🏁API: COLLECTIONS
  • List of schemes
  • 🔗Links
    • Website
    • Recruitement
    • Doc for Archipels Certify
    • Trust Registry
Propulsé par GitBook
Sur cette page

Cet article vous a-t-il été utile ?

  1. Send presentation request
  2. Send a Presentation

Get the list of valid attestations

before to be able to show the presentation, you need to know if you have the requested attestation end if it's still valid

From the Holder wallet

  • Create a new request with the Method GET and the value {{base_URL}}/presentations/{id}/valid-attestation

  • Rename this request "get valid attestation"

  • Replace {id} with the presentationId you have copied before

  • Request should look like this {{base_URL]]/presentations/482ba620-e406-4af2-b4e4-368c1a8db0c4/valid-attestation

  • Save the request and click SEND

Here the response

[
    {
        "id": "8ff4194a-5816-4a8f-973e-f00d170836e3",
        "issuerId": "1uYeHCcPjzRVGFQcFPMsg:3:CL:16776:default",
        "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0",
        "attributes": {
            "__source": "YourName",
            "type": "T-shirt"
            "size": "M"
            "price": "10€"
        },
        "issuanceDate": "2024-03-14T23:15:55.381Z"
    },
    {
        "id": "2da2dfe8-43c5-48f0-ac8c-491a6e540aa7",
        "issuerId": "1uYeHCcPjzRVGFQcFPMsg:3:CL:16776:default",
        "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0",
        "attributes": {
            "__source": "YourName",
            "type": "Hat"
            "size": "XS"
            "price": "5€"
        },
        "issuanceDate": "2024-03-14T23:15:55.381Z"
    }
]
  • Copy the ID of one of the attestations. Here the ID is 8ff4194a-5816-4a8f-973e-f00d170836e3 You will use it at the next step

PrécédentGet the presentation requestsSuivantSend/Show presentation

Dernière mise à jour il y a 1 an

Cet article vous a-t-il été utile ?

🔀
🪪