<commit_before>swagger: '2.0'
host: eurofurencewebapi.azurewebsites.net
consumes:
  - application/json
produces:
  - application/json
info:
  version: 0.0.8
  title: Eurofurence Mobile Apps Web API
  contact:
    name: Luchs
    url: https://forum.eurofurence.org
    
  
paths:
  /Endpoint:
    get:
      description: Gets metadata information about the API Endpoint.
      responses:
        '200':
          description: Successful response
          schema:
            $ref: '#/definitions/Endpoint'
  /EventEntry:
    get:
      description: Retrieves a list of all events in the event schedule.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventEntry'

  /EventConferenceTrack:
    get:
      description: Retrieves a list of all event conference tracks.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventConferenceTrack'              
              
  /EventConferenceDay:
    get:
      description: Retrieves a list of all event conference days.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventConferenceDay'                     

  /EventConferenceRoom:
    get:
      description: Retrieves a list of all conference rooms.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventConferenceRoom'   

  /InfoGroup:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/InfoGroup'   
              
  /Info:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Info'   
              
  /Image:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Image'   
              
  /Announcement:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Announcement'
              
  /Dealer:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Dealer'                                    

parameters:
  deltaSinceDateTimeUtc:
    name: since
    in: query
    description: 'Delta reference, date time in **ISO 8610**. If set, only items 
      with a *LastChangeDateTimeUtc* >= the specified value will be returned.
      If not set, API will return the current set of records without
      deleted items. If set, items deleted since the delta specified will be
      returned with an *IsDeleted* flag set.'
    required: false
    type: string
    format: date-time  
      
definitions:
  EntityBase:
    type: object
    properties:
      Id:
        type: string
        format: uuid
        description: Universally Unique Identifier (16bytes / 36char string),
          e.g 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc:
        type: string
        format: date-time
        description: Date & Time (UTC) in **ISO 8601** format of when the entity was
          last changed. (Will also be updated upon deletion)
      IsDeleted:
        type: number
        minimum: 0
        maximum: 1
        description: Numeric flag that, if set to "1", indicates that the
          record has been deleted sine the delta reference specified, and
          should be removed from the local data store after retrieval.
    required:
      - Id
      - LastChangeDateTimeUtc
      - IsDeleted
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      
  EventEntry:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object
      properties:
        SourceEventId:
          type: number
        ImageId:
          type: string
          format: uuid
        Slug:
          type: string
        Title:
          type: string
        ConferenceTrackId:
          type: string
          format: uuid
        ConferenceDayId:
          type: string
          format: uuid
        ConferenceRoomId:
          type: string
          format: uuid
        Abstract:
          type: string
        Description:
          type: string
        StartTime:
          type: string
        EndTime:
          type: string
        Duration:
          type: string
        PanelHosts:
          type: string
      required:
        - SourceEventId
        - Slug
        - Title
        - ConferenceTrackId
        - Abstract
        - Description
        - ConferenceDayId
        - StartTime
        - EndTime
        - Duration
        - ConferenceRoomId
        - PanelHosts
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      SourceEventId: 123
      Slug: artist_lounge_tue
      Title: Artist's Lounge - Let's be creative together!
      ConferenceTrackId: e6ea7350-c2c9-11e5-855c-00155d17ae4a
      ConferenceDayId: 55c7f0dd-c46f-11e5-af20-00155d17ae4a
      ConferenceRoomId: 15c7f0dd-c46f-11e5-af20-00155d17ae4b
      Abstract: Do you like spending your evening around other artists, drawing and chatting about techniques? Then this social event, taking place every evening, is the right place for you to be creative!
      Description: Do you like spending your evening around other artists, drawing and chatting about techniques? Then this social event, taking place every evening, is the right place for you to be creative!
      StartTime: '14:00:00'
      EndTime: '02:00:00'
      Duration: '12:00:00'
      PanelHosts: Akulatraxas
          
  EventConferenceDay:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object    
      properties:
        Name:
          type: string
          description: Name of the conference day, e,g, "Sat - Con Day 4".          
        Date:
          type: string
          format: date (YYYY-MM-DD)
          description: Conference day in date format (YYYY-MM-DD) 
      required:
      - Name
      - Date
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      Name: Tue - Early Arrival
      Date: '2015-08-18'
          
  EventConferenceTrack:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object    
      properties:
        Name:
          type: string
          description: Name of the conference track.
      required:
      - Name
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      Name: Stage

  EventConferenceRoom:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object    
      properties:
        Name:
          type: string
          description: Name of the conference room.
        ImageEntryId:
          type: string
          description: Id of the (map) image that shows the room
        ImageRoomPositionPoint:
          type: string
          format: X,Y
          description: Percentual coordinates on the original image indicating
            the entrance of the room.
      required:
      - Name
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      Name: Conference Room 2 - Estrel Hall A      

  Endpoint:
    type: object
    properties:
      CurrentDateTimeUtc:
        type: string
        format: date-time
      Configuration:
        type: array
        items:
          $ref: '#/definitions/EndpointConfiguration'
      Entities:
        type: array
        items:
          $ref: '#/definitions/EndpointEntity'
          
  EndpointConfiguration:
    type: object
    properties:
      Id:
        type: string
        format: uuid
      ResourceKey:
        type: string
      Value:
        type: string
        
  EndpointEntity:
    type: object
    properties:
      Id:
        type: string
        format: uuid
      Name:
        type: string
      TableName:
        type: string
      LastChangeDateTimeUtc:
        type: string
        format: date-time
      Count:
        type: number<commit_msg>Adding DeltaStartDateTimeUtc<commit_after>swagger: '2.0'
host: eurofurencewebapi.azurewebsites.net
consumes:
  - application/json
produces:
  - application/json
info:
  version: 0.0.8
  title: Eurofurence Mobile Apps Web API
  contact:
    name: Luchs
    url: https://forum.eurofurence.org
    
  
paths:
  /Endpoint:
    get:
      description: Gets metadata information about the API Endpoint.
      responses:
        '200':
          description: Successful response
          schema:
            $ref: '#/definitions/Endpoint'
  /EventEntry:
    get:
      description: Retrieves a list of all events in the event schedule.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventEntry'

  /EventConferenceTrack:
    get:
      description: Retrieves a list of all event conference tracks.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventConferenceTrack'              
              
  /EventConferenceDay:
    get:
      description: Retrieves a list of all event conference days.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventConferenceDay'                     

  /EventConferenceRoom:
    get:
      description: Retrieves a list of all conference rooms.
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/EventConferenceRoom'   

  /InfoGroup:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/InfoGroup'   
              
  /Info:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Info'   
              
  /Image:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Image'   
              
  /Announcement:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Announcement'
              
  /Dealer:
    get:
      description: tbd
      parameters:
        - $ref: "#/parameters/deltaSinceDateTimeUtc"
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/Dealer'                                    

parameters:
  deltaSinceDateTimeUtc:
    name: since
    in: query
    description: 'Delta reference, date time in **ISO 8610**. If set, only items 
      with a *LastChangeDateTimeUtc* >= the specified value will be returned.
      If not set, API will return the current set of records without
      deleted items. If set, items deleted since the delta specified will be
      returned with an *IsDeleted* flag set.'
    required: false
    type: string
    format: date-time  
      
definitions:
  EntityBase:
    type: object
    properties:
      Id:
        type: string
        format: uuid
        description: Universally Unique Identifier (16bytes / 36char string),
          e.g 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc:
        type: string
        format: date-time
        description: Date & Time (UTC) in **ISO 8601** format of when the entity was
          last changed. (Will also be updated upon deletion)
      IsDeleted:
        type: number
        minimum: 0
        maximum: 1
        description: Numeric flag that, if set to "1", indicates that the
          record has been deleted sine the delta reference specified, and
          should be removed from the local data store after retrieval.
    required:
      - Id
      - LastChangeDateTimeUtc
      - IsDeleted
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      
  EventEntry:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object
      properties:
        SourceEventId:
          type: number
        ImageId:
          type: string
          format: uuid
        Slug:
          type: string
        Title:
          type: string
        ConferenceTrackId:
          type: string
          format: uuid
        ConferenceDayId:
          type: string
          format: uuid
        ConferenceRoomId:
          type: string
          format: uuid
        Abstract:
          type: string
        Description:
          type: string
        StartTime:
          type: string
        EndTime:
          type: string
        Duration:
          type: string
        PanelHosts:
          type: string
      required:
        - SourceEventId
        - Slug
        - Title
        - ConferenceTrackId
        - Abstract
        - Description
        - ConferenceDayId
        - StartTime
        - EndTime
        - Duration
        - ConferenceRoomId
        - PanelHosts
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      SourceEventId: 123
      Slug: artist_lounge_tue
      Title: Artist's Lounge - Let's be creative together!
      ConferenceTrackId: e6ea7350-c2c9-11e5-855c-00155d17ae4a
      ConferenceDayId: 55c7f0dd-c46f-11e5-af20-00155d17ae4a
      ConferenceRoomId: 15c7f0dd-c46f-11e5-af20-00155d17ae4b
      Abstract: Do you like spending your evening around other artists, drawing and chatting about techniques? Then this social event, taking place every evening, is the right place for you to be creative!
      Description: Do you like spending your evening around other artists, drawing and chatting about techniques? Then this social event, taking place every evening, is the right place for you to be creative!
      StartTime: '14:00:00'
      EndTime: '02:00:00'
      Duration: '12:00:00'
      PanelHosts: Akulatraxas
          
  EventConferenceDay:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object    
      properties:
        Name:
          type: string
          description: Name of the conference day, e,g, "Sat - Con Day 4".          
        Date:
          type: string
          format: date (YYYY-MM-DD)
          description: Conference day in date format (YYYY-MM-DD) 
      required:
      - Name
      - Date
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      Name: Tue - Early Arrival
      Date: '2015-08-18'
          
  EventConferenceTrack:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object    
      properties:
        Name:
          type: string
          description: Name of the conference track.
      required:
      - Name
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      Name: Stage

  EventConferenceRoom:
    type: object
    allOf: 
    - $ref: '#/definitions/EntityBase'
    - type: object    
      properties:
        Name:
          type: string
          description: Name of the conference room.
        ImageEntryId:
          type: string
          description: Id of the (map) image that shows the room
        ImageRoomPositionPoint:
          type: string
          format: X,Y
          description: Percentual coordinates on the original image indicating
            the entrance of the room.
      required:
      - Name
    example:
      Id: 550e8400-e29b-11d4-a716-446655440000
      LastChangeDateTimeUtc: 2016-01-26T22:24:46Z
      IsDeleted: 0
      Name: Conference Room 2 - <NAME>      

  Endpoint:
    type: object
    properties:
      CurrentDateTimeUtc:
        type: string
        format: date-time
      Configuration:
        type: array
        items:
          $ref: '#/definitions/EndpointConfiguration'
      Entities:
        type: array
        items:
          $ref: '#/definitions/EndpointEntity'
          
  EndpointConfiguration:
    type: object
    properties:
      Id:
        type: string
        format: uuid
      ResourceKey:
        type: string
      Value:
        type: string
        
  EndpointEntity:
    type: object
    properties:
      Id:
        type: string
        format: uuid
      Name:
        type: string
      TableName:
        type: string
      LastChangeDateTimeUtc:
        type: string
        format: date-time
      DeltaStartDateTimeUtc:
        type: string
        format: date-time
      Count:
        type: number
{'fraction_non_alphanumeric': 0.07385229540918163, 'fraction_numerical': 0.039605000525265256, 'mean_word_length': 1.6384423503325942, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2454561', 'n_tokens_mistral': 5778, 'n_tokens_neox': 5304, 'n_words': 1503}