code: func (client *Client) UpdateApplicationApplyManifest(appGUID string, rawManifest []byte) (JobURL, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.PostApplicationActionApplyManifest,
  		URIParams:   map[string]string{"app_guid": appGUID},
  		Body:        bytes.NewReader(rawManifest),
  	})
  
  	if err != nil {
  		return "", nil, err
  	}
  
  	request.Header.Set("Content-Type", "application/x-yaml")
  
  	response := cloudcontroller.Response{}
  	err = client.connection.Make(request, &response)
  
  	return JobURL(response.ResourceLocationURL), response.Warnings, err
  }
docs: // UpdateApplicationApplyManifest applies the manifest to the given
  // application. Returns back a resulting job URL to poll.