package fixtures

const AppsV3 = `{
  "pagination": {
    "total_results": 5,
    "total_pages": 1,
    "first": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    },
    "last": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    }
  },
  "resources": [
    {
      "guid": "live-app-1-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    },
    {
      "guid": "live-app-2-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    },
    {
      "guid": "live-app-3-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-2-guid"
				}
			}
    },
    {
      "guid": "live-app-4-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-2-guid"
				}
			}
    },
    {
      "guid": "live-app-5-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-3-guid"
				}
			}
    }
  ]
}`

const AppsV3LiveAppGUIDs = `{
  "pagination": {
    "total_results": 2,
    "total_pages": 1,
    "first": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    },
    "last": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    }
  },
  "resources": [
    {
      "guid": "live-app-1-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    },
    {
      "guid": "live-app-2-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    }
  ]
}`

const AppsV3LiveApp1GUID = `{
  "pagination": {
    "total_results": 1,
    "total_pages": 1,
    "first": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    },
    "last": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    }
  },
  "resources": [
    {
      "guid": "live-app-1-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    }
  ]
}`

const AppsV3LiveApp2GUID = `{
  "pagination": {
    "total_results": 1,
    "total_pages": 1,
    "first": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    },
    "last": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    }
  },
  "resources": [
    {
      "guid": "live-app-2-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    }
  ]
}`

const AppsV3OneSpace = `{
  "pagination": {
    "total_results": 2,
    "total_pages": 1,
    "first": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    },
    "last": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    }
  },
  "resources": [
    {
      "guid": "live-app-1-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    },
    {
      "guid": "live-app-2-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    }
  ]
}`

const AppsV3TwoSpaces = `{
  "pagination": {
    "total_results": 2,
    "total_pages": 1,
    "first": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    },
    "last": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=10"
    }
  },
  "resources": [
    {
      "guid": "live-app-1-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    },
    {
      "guid": "live-app-2-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-2-guid"
				}
			}
    }
  ]
}`

const AppsV3MultiplePages = `{
  "pagination": {
    "total_results": 3,
    "total_pages": 3,
    "first": {
      "href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=1"
    },
    "last": {
      "href": "https://api.[your-domain.com]/v3/apps?page=3&per_page=1"
    },
		"next": {
			"href": "https://api.[your-domain.com]/v3/apps?page=2&per_page=1"
		}
  },
  "resources": [
    {
      "guid": "live-app-1-guid",
			"links": {
				"space": {
					"href": "https://api.example.org/v2/spaces/space-1-guid"
				}
			}
    }
  ]
}`

const AppsV3MultiplePagesPg2 = `{
	"pagination": {
		"total_results": 3,
		"total_pages": 3,
		"first": {
			"href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=1"
		},
		"last": {
			"href": "https://api.[your-domain.com]/v3/apps?page=3&per_page=1"
		},
		"next": {
			"href": "https://api.[your-domain.com]/v3/apps?page=3&per_page=1"
		}
	},
	"resources": [
	{
		"guid": "live-app-2-guid",
		"links": {
			"space": {
				"href": "https://api.example.org/v2/spaces/space-1-guid"
			}
		}
	}
	]
}`

const AppsV3MultiplePagesPg3 = `{
	"pagination": {
		"total_results": 3,
		"total_pages": 3,
		"first": {
			"href": "https://api.[your-domain.com]/v3/apps?page=1&per_page=1"
		},
		"last": {
			"href": "https://api.[your-domain.com]/v3/apps?page=3&per_page=1"
		},
		"next": null
	},
	"resources": [
	{
		"guid": "live-app-3-guid",
		"links": {
			"space": {
				"href": "https://api.example.org/v2/spaces/space-2-guid"
			}
		}
	}
	]
}`
