TechStacks!

<back to all web services

GetTechnologyStackPreviousVersions

TechStacks
The following routes are available for this service:
GET/techstacks/{Slug}/previous-versions
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetTechnologyStackPreviousVersions implements IGet
    {
        public String slug = null;
        
        public String getSlug() { return slug; }
        public GetTechnologyStackPreviousVersions setSlug(String value) { this.slug = value; return this; }
    }

    public static class GetTechnologyStackPreviousVersionsResponse
    {
        public ArrayList<TechnologyStackHistory> results = null;
        
        public ArrayList<TechnologyStackHistory> getResults() { return results; }
        public GetTechnologyStackPreviousVersionsResponse setResults(ArrayList<TechnologyStackHistory> value) { this.results = value; return this; }
    }

    public static class TechnologyStackHistory extends TechnologyStackBase
    {
        public Long technologyStackId = null;
        public String operation = null;
        public ArrayList<Long> technologyIds = null;
        public Long id = null;
        public String name = null;
        public String vendorName = null;
        public String description = null;
        public String appUrl = null;
        public String screenshotUrl = null;
        public Date created = null;
        public String createdBy = null;
        public Date lastModified = null;
        public String lastModifiedBy = null;
        public Boolean isLocked = null;
        public String ownerId = null;
        public String slug = null;
        @StringLength(2147483647)
        public String details = null;

        @StringLength(2147483647)
        public String detailsHtml = null;

        public Date lastStatusUpdate = null;
        public Integer organizationId = null;
        public Long commentsPostId = null;
        public Integer viewCount = null;
        public Integer favCount = null;
        
        public Long getTechnologyStackId() { return technologyStackId; }
        public TechnologyStackHistory setTechnologyStackId(Long value) { this.technologyStackId = value; return this; }
        public String getOperation() { return operation; }
        public TechnologyStackHistory setOperation(String value) { this.operation = value; return this; }
        public ArrayList<Long> getTechnologyIds() { return technologyIds; }
        public TechnologyStackHistory setTechnologyIds(ArrayList<Long> value) { this.technologyIds = value; return this; }
        public Long getId() { return id; }
        public TechnologyStackHistory setId(Long value) { this.id = value; return this; }
        public String getName() { return name; }
        public TechnologyStackHistory setName(String value) { this.name = value; return this; }
        public String getVendorName() { return vendorName; }
        public TechnologyStackHistory setVendorName(String value) { this.vendorName = value; return this; }
        public String getDescription() { return description; }
        public TechnologyStackHistory setDescription(String value) { this.description = value; return this; }
        public String getAppUrl() { return appUrl; }
        public TechnologyStackHistory setAppUrl(String value) { this.appUrl = value; return this; }
        public String getScreenshotUrl() { return screenshotUrl; }
        public TechnologyStackHistory setScreenshotUrl(String value) { this.screenshotUrl = value; return this; }
        public Date getCreated() { return created; }
        public TechnologyStackHistory setCreated(Date value) { this.created = value; return this; }
        public String getCreatedBy() { return createdBy; }
        public TechnologyStackHistory setCreatedBy(String value) { this.createdBy = value; return this; }
        public Date getLastModified() { return lastModified; }
        public TechnologyStackHistory setLastModified(Date value) { this.lastModified = value; return this; }
        public String getLastModifiedBy() { return lastModifiedBy; }
        public TechnologyStackHistory setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; }
        public Boolean getIsLocked() { return isLocked; }
        public TechnologyStackHistory setIsLocked(Boolean value) { this.isLocked = value; return this; }
        public String getOwnerId() { return ownerId; }
        public TechnologyStackHistory setOwnerId(String value) { this.ownerId = value; return this; }
        public String getSlug() { return slug; }
        public TechnologyStackHistory setSlug(String value) { this.slug = value; return this; }
        public String getDetails() { return details; }
        public TechnologyStackHistory setDetails(String value) { this.details = value; return this; }
        public String getDetailsHtml() { return detailsHtml; }
        public TechnologyStackHistory setDetailsHtml(String value) { this.detailsHtml = value; return this; }
        public Date getLastStatusUpdate() { return lastStatusUpdate; }
        public TechnologyStackHistory setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public TechnologyStackHistory setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Long getCommentsPostId() { return commentsPostId; }
        public TechnologyStackHistory setCommentsPostId(Long value) { this.commentsPostId = value; return this; }
        public Integer getViewCount() { return viewCount; }
        public TechnologyStackHistory setViewCount(Integer value) { this.viewCount = value; return this; }
        public Integer getFavCount() { return favCount; }
        public TechnologyStackHistory setFavCount(Integer value) { this.favCount = value; return this; }
    }

    public static class TechnologyStackBase
    {
        public Long id = null;
        public String name = null;
        public String vendorName = null;
        public String description = null;
        public String appUrl = null;
        public String screenshotUrl = null;
        public Date created = null;
        public String createdBy = null;
        public Date lastModified = null;
        public String lastModifiedBy = null;
        public Boolean isLocked = null;
        public String ownerId = null;
        public String slug = null;
        @StringLength(2147483647)
        public String details = null;

        @StringLength(2147483647)
        public String detailsHtml = null;

        public Date lastStatusUpdate = null;
        public Integer organizationId = null;
        public Long commentsPostId = null;
        public Integer viewCount = null;
        public Integer favCount = null;
        
        public Long getId() { return id; }
        public TechnologyStackBase setId(Long value) { this.id = value; return this; }
        public String getName() { return name; }
        public TechnologyStackBase setName(String value) { this.name = value; return this; }
        public String getVendorName() { return vendorName; }
        public TechnologyStackBase setVendorName(String value) { this.vendorName = value; return this; }
        public String getDescription() { return description; }
        public TechnologyStackBase setDescription(String value) { this.description = value; return this; }
        public String getAppUrl() { return appUrl; }
        public TechnologyStackBase setAppUrl(String value) { this.appUrl = value; return this; }
        public String getScreenshotUrl() { return screenshotUrl; }
        public TechnologyStackBase setScreenshotUrl(String value) { this.screenshotUrl = value; return this; }
        public Date getCreated() { return created; }
        public TechnologyStackBase setCreated(Date value) { this.created = value; return this; }
        public String getCreatedBy() { return createdBy; }
        public TechnologyStackBase setCreatedBy(String value) { this.createdBy = value; return this; }
        public Date getLastModified() { return lastModified; }
        public TechnologyStackBase setLastModified(Date value) { this.lastModified = value; return this; }
        public String getLastModifiedBy() { return lastModifiedBy; }
        public TechnologyStackBase setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; }
        public Boolean getIsLocked() { return isLocked; }
        public TechnologyStackBase setIsLocked(Boolean value) { this.isLocked = value; return this; }
        public String getOwnerId() { return ownerId; }
        public TechnologyStackBase setOwnerId(String value) { this.ownerId = value; return this; }
        public String getSlug() { return slug; }
        public TechnologyStackBase setSlug(String value) { this.slug = value; return this; }
        public String getDetails() { return details; }
        public TechnologyStackBase setDetails(String value) { this.details = value; return this; }
        public String getDetailsHtml() { return detailsHtml; }
        public TechnologyStackBase setDetailsHtml(String value) { this.detailsHtml = value; return this; }
        public Date getLastStatusUpdate() { return lastStatusUpdate; }
        public TechnologyStackBase setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public TechnologyStackBase setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Long getCommentsPostId() { return commentsPostId; }
        public TechnologyStackBase setCommentsPostId(Long value) { this.commentsPostId = value; return this; }
        public Integer getViewCount() { return viewCount; }
        public TechnologyStackBase setViewCount(Integer value) { this.viewCount = value; return this; }
        public Integer getFavCount() { return favCount; }
        public TechnologyStackBase setFavCount(Integer value) { this.favCount = value; return this; }
    }

}

Java GetTechnologyStackPreviousVersions DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /techstacks/{Slug}/previous-versions HTTP/1.1 
Host: techstacks.io 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetTechnologyStackPreviousVersionsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel">
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:TechnologyStackHistory>
      <d2p1:AppUrl>String</d2p1:AppUrl>
      <d2p1:CommentsPostId>0</d2p1:CommentsPostId>
      <d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
      <d2p1:CreatedBy>String</d2p1:CreatedBy>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Details>String</d2p1:Details>
      <d2p1:DetailsHtml>String</d2p1:DetailsHtml>
      <d2p1:FavCount>0</d2p1:FavCount>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsLocked>false</d2p1:IsLocked>
      <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
      <d2p1:LastModifiedBy>String</d2p1:LastModifiedBy>
      <d2p1:LastStatusUpdate>0001-01-01T00:00:00</d2p1:LastStatusUpdate>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:OrganizationId>0</d2p1:OrganizationId>
      <d2p1:OwnerId>String</d2p1:OwnerId>
      <d2p1:ScreenshotUrl>String</d2p1:ScreenshotUrl>
      <d2p1:Slug>String</d2p1:Slug>
      <d2p1:VendorName>String</d2p1:VendorName>
      <d2p1:ViewCount>0</d2p1:ViewCount>
      <d2p1:Operation>String</d2p1:Operation>
      <d2p1:TechnologyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>0</d4p1:long>
      </d2p1:TechnologyIds>
      <d2p1:TechnologyStackId>0</d2p1:TechnologyStackId>
    </d2p1:TechnologyStackHistory>
  </Results>
</GetTechnologyStackPreviousVersionsResponse>