code: func (client *Client) GetRunstatusIncident(ctx context.Context, incident RunstatusIncident) (*RunstatusIncident, error) {
  	if incident.URL != "" {
  		return client.getRunstatusIncident(ctx, incident.URL)
  	}
  
  	if incident.PageURL == "" {
  		return nil, fmt.Errorf("empty Page URL for %#v", incident)
  	}
  
  	page, err := client.getRunstatusPage(ctx, incident.PageURL)
  	if err != nil {
  		return nil, err
  	}
  
  	for i := range page.Incidents {
  		j := &page.Incidents[i]
  		if j.Match(incident) {
  			return j, nil
  		}
  	}
  
  	return nil, fmt.Errorf("%#v not found", incident)
  }
docs: // GetRunstatusIncident retrieves the details of a specific incident.