Permalink
Browse files

started adding some saved XML responses (for NuGet as a first example)

  • Loading branch information...
1 parent 07eac32 commit 3fd47c109278ca8da8e930c1427759fb60cdba09 @remi committed Jan 30, 2011

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,112 @@
+HTTP/1.1 200 OK
+Cache-Control: no-cache
+Content-Length: 4935
+Content-Type: application/atom+xml;charset=utf-8
+Server: Microsoft-IIS/7.0
+DataServiceVersion: 2.0;
+X-AspNet-Version: 4.0.30319
+X-Powered-By: ASP.NET
+Date: Sun, 30 Jan 2011 04:23:08 GMT
+
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<feed xml:base="http://packages.nuget.org/v1/FeedService.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
+ <title type="text">Screenshots</title>
+ <id>http://packages.nuget.org/v1/FeedService.svc/Screenshots</id>
+ <updated>2011-01-30T04:23:08Z</updated>
+ <link rel="self" title="Screenshots" href="Screenshots" />
+ <entry>
+ <id>http://packages.nuget.org/v1/FeedService.svc/Screenshots(3)</id>
+ <title type="text"></title>
+ <updated>2011-01-30T04:23:08Z</updated>
+ <author>
+ <name />
+ </author>
+ <link rel="edit" title="PublishedScreenshot" href="Screenshots(3)" />
+ <category term="Gallery.Infrastructure.FeedModels.PublishedScreenshot" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
+ <content type="application/xml">
+ <m:properties>
+ <d:Id m:type="Edm.Int32">3</d:Id>
+ <d:PublishedPackageId>RazorDebugger</d:PublishedPackageId>
+ <d:PublishedPackageVersion>0.1</d:PublishedPackageVersion>
+ <d:ScreenshotUri>http://weblogs.asp.net/blogs/davidfowler/image_65B795EF.png</d:ScreenshotUri>
+ <d:Caption m:null="true" />
+ </m:properties>
+ </content>
+ </entry>
+ <entry>
+ <id>http://packages.nuget.org/v1/FeedService.svc/Screenshots(4)</id>
+ <title type="text"></title>
+ <updated>2011-01-30T04:23:08Z</updated>
+ <author>
+ <name />
+ </author>
+ <link rel="edit" title="PublishedScreenshot" href="Screenshots(4)" />
+ <category term="Gallery.Infrastructure.FeedModels.PublishedScreenshot" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
+ <content type="application/xml">
+ <m:properties>
+ <d:Id m:type="Edm.Int32">4</d:Id>
+ <d:PublishedPackageId>RazorDebugger</d:PublishedPackageId>
+ <d:PublishedPackageVersion>0.1</d:PublishedPackageVersion>
+ <d:ScreenshotUri>http://weblogs.asp.net/blogs/davidfowler/image_69A19827.png</d:ScreenshotUri>
+ <d:Caption m:null="true" />
+ </m:properties>
+ </content>
+ </entry>
+ <entry>
+ <id>http://packages.nuget.org/v1/FeedService.svc/Screenshots(5)</id>
+ <title type="text"></title>
+ <updated>2011-01-30T04:23:08Z</updated>
+ <author>
+ <name />
+ </author>
+ <link rel="edit" title="PublishedScreenshot" href="Screenshots(5)" />
+ <category term="Gallery.Infrastructure.FeedModels.PublishedScreenshot" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
+ <content type="application/xml">
+ <m:properties>
+ <d:Id m:type="Edm.Int32">5</d:Id>
+ <d:PublishedPackageId>SimpleBasicAuthenticationModule</d:PublishedPackageId>
+ <d:PublishedPackageVersion>0.1</d:PublishedPackageVersion>
+ <d:ScreenshotUri>/Media/Default/Packages/SimpleBasicAuthenticationModule/0.1/Screenshots/SimpleBasicAuthentication.PNG</d:ScreenshotUri>
+ <d:Caption m:null="true" />
+ </m:properties>
+ </content>
+ </entry>
+ <entry>
+ <id>http://packages.nuget.org/v1/FeedService.svc/Screenshots(6)</id>
+ <title type="text"></title>
+ <updated>2011-01-30T04:23:08Z</updated>
+ <author>
+ <name />
+ </author>
+ <link rel="edit" title="PublishedScreenshot" href="Screenshots(6)" />
+ <category term="Gallery.Infrastructure.FeedModels.PublishedScreenshot" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
+ <content type="application/xml">
+ <m:properties>
+ <d:Id m:type="Edm.Int32">6</d:Id>
+ <d:PublishedPackageId>entile-server</d:PublishedPackageId>
+ <d:PublishedPackageVersion>0.1.1</d:PublishedPackageVersion>
+ <d:ScreenshotUri>/Media/Default/Packages/entile-server/0.1.1/Screenshots/Entile-Screenshot1.jpg</d:ScreenshotUri>
+ <d:Caption m:null="true" />
+ </m:properties>
+ </content>
+ </entry>
+ <entry>
+ <id>http://packages.nuget.org/v1/FeedService.svc/Screenshots(7)</id>
+ <title type="text"></title>
+ <updated>2011-01-30T04:23:08Z</updated>
+ <author>
+ <name />
+ </author>
+ <link rel="edit" title="PublishedScreenshot" href="Screenshots(7)" />
+ <category term="Gallery.Infrastructure.FeedModels.PublishedScreenshot" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
+ <content type="application/xml">
+ <m:properties>
+ <d:Id m:type="Edm.Int32">7</d:Id>
+ <d:PublishedPackageId>entile-client</d:PublishedPackageId>
+ <d:PublishedPackageVersion>0.1.0</d:PublishedPackageVersion>
+ <d:ScreenshotUri>/Media/Default/Packages/entile-client/0.1.0/Screenshots/Entile-Screenshot1.jpg</d:ScreenshotUri>
+ <d:Caption m:null="true" />
+ </m:properties>
+ </content>
+ </entry>
+</feed>
@@ -0,0 +1,78 @@
+HTTP/1.1 200 OK
+Cache-Control: no-cache
+Content-Length: 4806
+Content-Type: application/xml;charset=utf-8
+Server: Microsoft-IIS/7.0
+DataServiceVersion: 1.0;
+X-AspNet-Version: 4.0.30319
+X-Powered-By: ASP.NET
+Date: Sun, 30 Jan 2011 04:24:17 GMT
+
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
+ <edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="1.0">
+ <Schema Namespace="Gallery.Infrastructure.FeedModels" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://schemas.microsoft.com/ado/2006/04/edm">
+ <EntityType Name="PublishedPackage" m:HasStream="true">
+ <Key>
+ <PropertyRef Name="Id" />
+ <PropertyRef Name="Version" />
+ </Key>
+ <Property Name="Id" Type="Edm.String" Nullable="false" />
+ <Property Name="Version" Type="Edm.String" Nullable="false" />
+ <Property Name="Title" Type="Edm.String" Nullable="true" />
+ <Property Name="Authors" Type="Edm.String" Nullable="true" />
+ <Property Name="PackageType" Type="Edm.String" Nullable="true" />
+ <Property Name="Summary" Type="Edm.String" Nullable="true" />
+ <Property Name="Description" Type="Edm.String" Nullable="true" />
+ <Property Name="Copyright" Type="Edm.String" Nullable="true" />
+ <Property Name="PackageHashAlgorithm" Type="Edm.String" Nullable="true" />
+ <Property Name="PackageHash" Type="Edm.String" Nullable="true" />
+ <Property Name="PackageSize" Type="Edm.Int64" Nullable="false" />
+ <Property Name="Price" Type="Edm.Decimal" Nullable="false" />
+ <Property Name="RequireLicenseAcceptance" Type="Edm.Boolean" Nullable="false" />
+ <Property Name="IsLatestVersion" Type="Edm.Boolean" Nullable="false" />
+ <Property Name="VersionRating" Type="Edm.Double" Nullable="false" />
+ <Property Name="VersionRatingsCount" Type="Edm.Int32" Nullable="false" />
+ <Property Name="VersionDownloadCount" Type="Edm.Int32" Nullable="false" />
+ <Property Name="Created" Type="Edm.DateTime" Nullable="false" />
+ <Property Name="LastUpdated" Type="Edm.DateTime" Nullable="false" />
+ <Property Name="Published" Type="Edm.DateTime" Nullable="false" />
+ <Property Name="ExternalPackageUrl" Type="Edm.String" Nullable="true" />
+ <Property Name="ProjectUrl" Type="Edm.String" Nullable="true" />
+ <Property Name="LicenseUrl" Type="Edm.String" Nullable="true" />
+ <Property Name="IconUrl" Type="Edm.String" Nullable="true" />
+ <Property Name="Rating" Type="Edm.Double" Nullable="false" />
+ <Property Name="RatingsCount" Type="Edm.Int32" Nullable="false" />
+ <Property Name="DownloadCount" Type="Edm.Int32" Nullable="false" />
+ <NavigationProperty Name="Screenshots" Relationship="Gallery.Infrastructure.FeedModels.PublishedPackage_Screenshots" FromRole="PublishedPackage" ToRole="Screenshots" />
+ <Property Name="Categories" Type="Edm.String" Nullable="true" />
+ <Property Name="Tags" Type="Edm.String" Nullable="true" />
+ <Property Name="Dependencies" Type="Edm.String" Nullable="true" />
+ <Property Name="ReportAbuseUrl" Type="Edm.String" Nullable="true" />
+ <Property Name="GalleryDetailsUrl" Type="Edm.String" Nullable="true" />
+ </EntityType>
+ <EntityType Name="PublishedScreenshot">
+ <Key>
+ <PropertyRef Name="Id" />
+ </Key>
+ <Property Name="Id" Type="Edm.Int32" Nullable="false" />
+ <Property Name="PublishedPackageId" Type="Edm.String" Nullable="true" />
+ <Property Name="PublishedPackageVersion" Type="Edm.String" Nullable="true" />
+ <Property Name="ScreenshotUri" Type="Edm.String" Nullable="true" />
+ <Property Name="Caption" Type="Edm.String" Nullable="true" />
+ </EntityType>
+ <Association Name="PublishedPackage_Screenshots">
+ <End Role="PublishedPackage" Type="Gallery.Infrastructure.FeedModels.PublishedPackage" Multiplicity="*" />
+ <End Role="Screenshots" Type="Gallery.Infrastructure.FeedModels.PublishedScreenshot" Multiplicity="*" />
+ </Association>
+ <EntityContainer Name="GalleryFeedContext" m:IsDefaultEntityContainer="true">
+ <EntitySet Name="Packages" EntityType="Gallery.Infrastructure.FeedModels.PublishedPackage" />
+ <EntitySet Name="Screenshots" EntityType="Gallery.Infrastructure.FeedModels.PublishedScreenshot" />
+ <AssociationSet Name="PublishedPackage_Screenshots" Association="Gallery.Infrastructure.FeedModels.PublishedPackage_Screenshots">
+ <End Role="PublishedPackage" EntitySet="Packages" />
+ <End Role="Screenshots" EntitySet="Screenshots" />
+ </AssociationSet>
+ </EntityContainer>
+ </Schema>
+ </edmx:DataServices>
+</edmx:Edmx>
@@ -0,0 +1,22 @@
+HTTP/1.1 200 OK
+Cache-Control: no-cache
+Content-Length: 513
+Content-Type: application/xml;charset=utf-8
+Server: Microsoft-IIS/7.0
+DataServiceVersion: 1.0;
+X-AspNet-Version: 4.0.30319
+X-Powered-By: ASP.NET
+Date: Sun, 30 Jan 2011 04:22:10 GMT
+
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<service xml:base="http://packages.nuget.org/v1/FeedService.svc/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app">
+ <workspace>
+ <atom:title>Default</atom:title>
+ <collection href="Packages">
+ <atom:title>Packages</atom:title>
+ </collection>
+ <collection href="Screenshots">
+ <atom:title>Screenshots</atom:title>
+ </collection>
+ </workspace>
+</service>

0 comments on commit 3fd47c1

Please sign in to comment.