Skip to content

Commit

Permalink
⏪ Revert change to list_w3c_credentials endpoint (#1213)
Browse files Browse the repository at this point in the history
* ⏪ Revert change to `list_w3c_credentials` endpoint

* 🎨 Rearrange query params
  • Loading branch information
ff137 authored Dec 2, 2024
1 parent 287e449 commit c4b3e27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/routes/wallet/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,14 @@ async def get_credential_revocation_status(


@router.get(
"/list/w3c",
"/w3c",
response_model=VCRecordList,
summary="Fetch a list of W3C credentials from the wallet",
)
async def list_w3c_credentials(
schema_ids: Optional[List[str]] = None,
issuer_did: Optional[str] = None,
limit: Optional[int] = None,
issuer_did: Optional[str] = None,
schema_ids: Optional[List[str]] = None,
auth: AcaPyAuth = Depends(acapy_auth_from_header),
) -> VCRecordList:
"""
Expand All @@ -251,12 +251,12 @@ async def list_w3c_credentials(
Optional Parameters:
---
schema_ids: List[str]
Schema identifiers to match
issuer_did: str
Credential issuer did to match
limit: int
Maximum number of results to return
issuer_did: str
Credential issuer did to match
schema_ids: List[str]
Schema identifiers to match
Returns:
---
Expand Down

0 comments on commit c4b3e27

Please sign in to comment.