@assets.route('<STR_LIT>', methods=['<STR_LIT:GET>'])<EOL>def get_metadata(did):
try:<EOL><INDENT>asset_record = dao.get(did)<EOL>metadata = _get_metadata(asset_record['<STR_LIT>'])<EOL>return Response(_sanitize_record(metadata), <NUM_LIT:200>, content_type='<STR_LIT:application/json>')<EOL><DEDENT>except Exception as e:<EOL><INDENT>logger.error(e)<EOL>return f'<STR_LIT>', <NUM_LIT><EOL><DEDENT>
Get metadata of a particular asset
    ---
    tags:
      - metadata
    parameters:
      - name: did
        in: path
        description: DID of the asset.
        required: true
        type: string
    responses:
      200:
        description: successful operation.
      404:
        description: This asset DID is not in OceanDB.