태그가 있는 모든 등록 읽기
특정 태그가 있는 모든 등록을 검색합니다.
요청
방법 | 요청 URI | HTTP 버전 |
---|---|---|
GET | https://{namespace}.servicebus.windows.net/{NotificationHub}/tags/{tag}/registrations?api-version=2015-01 | HTTP/1.1 |
유의 사항은 다음과 같습니다.
이 호출은 OData에 지정된 $top 쿼리 문자열 매개 변수를 지원합니다.
이 호출은 지원는 ContinuationToken 쿼리 문자열 매개 변수를 열거를 계속 합니다.
요청 헤더
다음 표에서는 필수 요청 헤더와 선택적 요청 헤더에 대해 설명합니다.
요청 헤더 | 설명 |
---|---|
권한 부여 | 공유 액세스 서명 인증 된에 지정된대로 생성 한 토큰 서비스 버스, 또는 서비스 버스 인증 및 권한 부여와 Microsoft Azure Active Directory 액세스 제어(액세스 제어 서비스 또는 ACS라고도 함)합니다. |
x-ms-version | 2015-01 |
요청 본문
없음.
응답
응답에는 HTTP 상태 코드 및 응답 헤더 집합이 포함되어 있습니다.
응답 코드
코드 | 설명 |
---|---|
200 | 등록이 검색되었습니다. |
401 | 인증 실패 액세스 키가 잘못되었습니다. |
404 | 찾을 수 없음 채널 해시가 없습니다. |
403 | 할당량이 초과되었습니다. 등록 작업 속도가 너무 빨라 요청이 거부되었습니다. |
상태 코드에 대 한 정보를 참조 하십시오. 상태 및 오류 코드.
응답 헤더
응답 헤더 | 설명 |
---|---|
Content-type | application/atom+xml;type=entry;charset=utf-8 |
응답 본문
에 지정 된 xml 형식으로 등록 목록을 래핑하는 atom 피드 Create Registration
합니다. 예를 들면 다음과 같습니다.
<?xml version="1.0" encoding="utf-8" ?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="/{NotificationTopic}/channels/{channel hash}" /> <id> https://{tenant}.windows.net/{NotificationTopic}/channels/{channel hash}</id> <updated>2012-08-17T17:32:00Z</updated> <entry xmlns:m=”https://schemas.microsoft.com/ado/2007/08/dataservices/metadata” m:etag=”W/"1234567890"”> <id>https://{tenant}.windows.net/{NotificationTopic}/registrations/{registrationId}</id> <title type="text"> /{NotificationTopic}/registrations/{registrationId}</title> <updated>2012-08-17T17:32:00Z</updated> <content type="application/xml"> <WindowsRegistrationDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.microsoft.com/netservices/2010/10/servicebus/connect"> <ETag>{ETag}</ETag> <ExpirationTime>2012-07-16T19:20+01:00</ExpirationTime> <RegistrationId>{RegistrationId}</RegistrationId> <Tags>myTag, myOtherTag</Tags> <ChannelUri>{ChannelUri}</ChannelUri> </WindowsRegistrationDescription> </content> </entry> <entry> … </entry> </feed>