3.11.5.1.1 GET
The URL specified by the client in the HTTP request line of the GET request identifies the "reporting point" targeted for the client. The server might have multiple reporting points and different reporting points might have different access permissions associated with them. For example, some reporting points require HTTP access authentication (as specified in [RFC2616] section 11). Other reporting points allow only clients that connect from a specific IP address.
The syntax of the GetReports request is defined as follows.
-
DSC-GetReports-Request = DSC-GetReports-Req-Line DSC-GetReportsSetReq-Headers DSC-GetReports-Req-Line = "GET" SP Request-URI SP HTTP-Version CRLF Request-URI = Request-URI-Start DSC-GetReportsRequest-URI-End DSC-GetReportsRequest-URI-End = "Nodes(AgentId=" SQUOTE AgentID SQUOTE RBRACKET FSLASH "Reports(JobId=" SQUOTE JOBID SQUOTE RBRACKET SQUOTE = %x27 ; ' (Single Quote) RBRACKET = %x29 ; ) (Closing Bracket) FSLASH = %x2F ; / (Forward Slash) AgentID = UUID ; as specified in [RFC4122] JOBID = UUID; as specified in [RFC4122] DSC-GetReportsSetReq-Headers = *( DSC-GetReportsSetReq-Header-REQ / DSC-GetReportsSetReq-Header-OPT ) DSC-GetReportsSetReq-Header-REQ = Host ; section 14.23 of [RFC2616] / Accept ; section 14.1 of [RFC2616] / ContentType ; section 2.2.2.1.2 / Content-Length ; section 14.13 of [RFC2616] DSC-GetReportsSetReq-Header-OPT = Connection ; section 14.10 of [RFC2616] / Expect ; section 14.20 of [RFC2616]
The syntax of the GetReports response is defined as follows:
-
DSC-GetReports-Response = Status-Line DSC-GetReportsResp-Headers DSC-GetReportsResp-Body DSC-GetReportsResp-Headers = *( DSC-GetReportsResp-Header-REQ / DSC-GetReportsResp-Header-OPT) DSC-GetReportsResp-Header-REQ = Content-Length ; section 14.13 of [RFC2616] / Content-Type ; section 2.2.2.1.2 DSC-GetReportsResp-Header-OPT = Server ; section 14.38 of [RFC2616] DSC-GetReportsResp-Body = ReportContent ; section 3.11.5.1.1.2
The response message for this method can result in the following status codes.
|
Status code |
Description |
|---|---|
|
200 |
Request completed. |
|
400 |
Bad request. |
|
401 |
Not authorized. |
|
404 |
The resource is not found. |