code: @GET
      @Path("/{pushAppID}")
      @Produces(MediaType.APPLICATION_JSON)
      public Response findById(
              @PathParam("pushAppID") String pushApplicationID,
              @QueryParam("includeDeviceCount") @DefaultValue("false") boolean includeDeviceCount,
              @QueryParam("includeActivity")    @DefaultValue("false") boolean includeActivity) {
  
          PushApplication pushApp = getSearch().findByPushApplicationIDForDeveloper(pushApplicationID);
  
          if (pushApp != null) {
              logger.trace("Query details for push application {}", pushApp.getName());
              ResponseBuilder response = Response.ok(pushApp);
              if (includeActivity) {
                  logger.trace("Include activity header");
                  putActivityIntoResponseHeaders(pushApp, response);
              }
              if (includeDeviceCount) {
                  logger.trace("Include device count header");
                  putDeviceCountIntoResponseHeaders(pushApp, response);
              }
              return response.build();
          }
  
          return Response.status(Status.NOT_FOUND).entity("Could not find requested PushApplicationEntity").build();
      }
docs: Get Push Application.
  
  @param pushApplicationID     id of {@link PushApplication}
  @param includeDeviceCount    boolean param to put device count into response headers, default {@code false}
  @param includeActivity       boolean param to put activity into response headers, default {@code false}
  @return                      requested {@link PushApplication}
  
  @responseheader activity_app_{pushApplicationID}     Count number of messages for Push Application
  @responseheader activity_variant_{variantID}         Count number of messages for Variant
  @responseheader deviceCount_app_{pushApplicationID}  Count number of devices for Push Application
  @responseheader deviceCount_variant_{variantID}      Count number of devices for Variant
  
  @statuscode 404 The requested PushApplication resource does not exist