GET /v1/:account/projects/:project/resources

Display resources for the project specified.

Path Parameters

  • account (username of project owner)
  • project (project url, e.g. “Sample Project” -> “sample-project”)

Required Parameters

Example

curl -X GET https://api.lingohub.com/v1/acme/projects/kaboom/resources.json?auth_token=token
{
  "links": [
    {
      "rel": "self",
      "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources",
      "type": "application/json"
    }
  ],
  "members": [
    {
      "name": "en.yml",
      "project_locale": "en",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/en.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    },
    {
      "name": "de.yml",
      "project_locale": "de",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/de.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    },
    {
      "name": "public.en.yml",
      "project_locale": "en",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/public.en.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    },
    {
      "name": "public.de.yml",
      "project_locale": "de",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/public.de.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    },
    {
      "name": "simple_form.en.yml",
      "project_locale": "en",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/simple_form.en.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    },
    {
      "name": "simple_form.de.yml",
      "project_locale": "de",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/simple_form.de.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    },
    {
      "name": "timezones.en.yml",
      "project_locale": "en",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/timezones.en.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    },
    {
      "name": "timezones.de.yml",
      "project_locale": "de",
      "links": [
        {
          "rel": "self",
          "href": "https://api.lingohub.com/v1/acme/projects/kaboom/resources/timezones.de.yml?path=config/locales",
          "type": "text/yaml"
        }
      ]
    }
  ]
}
curl -X GET https://api.lingohub.com/v1/acme/projects/kaboom/resources.xml?auth_token=token



  
  self
  https://api.lingohub.com/v1/acme/projects/kaboom/resources
  text/xml
  



  en.yml
  en
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/en.yml?path=config/locales
    text/yaml
    
  


  de.yml
  de
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/de.yml?path=config/locales
    text/yaml
    
  


  formats.en.yml
  en
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/formats.en.yml?path=config/locales
    text/yaml
    
  


  formats.de.yml
  de
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/formats.de.yml?path=config/locales
    text/yaml
    
  


  languages.en.yml
  en
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/languages.en.yml?path=config/locales
    text/yaml
    
  


  languages.de.yml
  de
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/languages.de.yml?path=config/locales
    text/yaml
    
  


  public.en.yml
  en
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/public.en.yml?path=config/locales
    text/yaml
    
  


  public.de.yml
  de
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/public.de.yml?path=config/locales
    text/yaml
    
  


  simple_form.en.yml
  en
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/simple_form.en.yml?path=config/locales
    text/yaml
    
  


  simple_form.de.yml
  de
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/simple_form.de.yml?path=config/locales
    text/yaml
    
  


  timezones.en.yml
  en
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/timezones.en.yml?path=config/locales
    text/yaml
    
  


  timezones.de.yml
  de
  
    
    self
    https://api.lingohub.com/v1/acme/projects/kaboom/resources/timezones.de.yml?path=config/locales
    text/yaml
    
  


[was-this-helpful theme=9]